![]() |
whats wrong with this ?
i am trying to get the favourite mod from the arcade hack to work on another part of my forum so far php correct but theres a problem with the script the image is not changing on click ? and ideas.
PHP Code:
|
I'm not entirely sure, but I don't think you can change a src like that. I think you have to use Image objects, like this:
Code:
<script type="text/javascript"> -- hugh |
worked a treat m8 thx
PHP Code:
the $tindex look like this 1223,3434,5252,5251 etc |
Can you post the whole query?
The only thing I can think of without any context is that maybe you are using 'single quotes' rather than "double quotes", so $tindex isn't getting expanded. -- hugh |
PHP Code:
|
Nothing obvious wrong with that.
You might want to try assigning the query to a variable and var_dumping() it before it executes, so you can copy and paste the literal query into somelike like phpMyAdmin or a mysql command line, and see what it actually generates. -- hugh |
All times are GMT. The time now is 03:27 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|