1,105,225 Community Members

Help

Member Avatar
freakvista
Junior Poster in Training
77 posts since Apr 2010
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

I don't know but this button wont do what i tell it to do

<img id="butoon" src="images/lft-button2.png" onmouseover="hover('l')" onmouseout="unhover('l')" onmousedown="clickonit('l')" onmouseup="clickup('l')" onClick="window.open('gallery.php?blu=<?PHP echo "$q"?>&subf=<?PHP echo "$subf"?>','_self')" style="cursor: pointer;" />

and in another php it worked... i don't know why it isnt working in this php....

LastMitch
Deleted Member
 
0
 

@freakvista

I don't know but this button wont do what i tell it to do

There are couple reason:

1) Is your id=butoon or id=button?

2) When you echo something it should include ; - semi-colon from this <?PHP echo "$q" ?> to this <?PHP echo "$q"; ?>

Now try the code again:

<img id="button" src="images/lft-button2.png" onmouseover="hover('l')" onmouseout="unhover('l')" onmousedown="clickonit('l')" onmouseup="clickup('l')" onClick="window.open('gallery.php?blu=<?PHP echo "$q"; ?>&subf=<?PHP echo "$subf"; ?>','_self')" style="cursor: pointer;" />
You
This article has been dead for over three months: Start a new discussion instead
Post:
Start New Discussion
Tags Related to this Article