Posts: 3,987
Name: Abel Mohler
Location: Asheville, North Carolina USA
|
Huh!? Where is the PHP? I don't see any PHP. What it looks like is JavaScript concatenation mixed up with regular HTML.
To put the array variables within the href, you do something like this:
PHP Code:
<a href="showthread.php?t=<?=threads[$x].$threadid?>" onMouseOver="window.status=''">
However, I doubt this is what you're asking. Those look like JavaScript variables also, the way you have them. I made them into PHP variables, but am probably wrong. Is there a bunch of code AROUND this little snippet that you're not letting us see??
__________________
I build web things. I work for the startup Please login or register to view this content. Registration is FREE
.
Last edited by wayfarer07; 08-04-2008 at 10:46 AM..
|