Page 1 of 1

Need an input to find the solution...

Posted: Tue Jun 11, 2002 10:18 am
by paolone
Thanks! it's solved!

Posted: Tue Jun 11, 2002 1:54 pm
by volka
didn't get it really, but I try ;)
You get two columns per row, 'description' and 'id'?

Code: Select all

while($row=mysql_fetch_row(....
print(....$row&#1111;'description'].....'<button onClick="doPopup('.$row&#1111;'id'].'">new window</button>'.....);
then you write a JavaScript function doPopup(paramId) where you open a new windows with the url ....?requestedId=<paramId>

may be I completely lost you 8O

Posted: Wed Jun 12, 2002 2:37 am
by paolone
:D Well Volka, many thanks, you are probably on the right way.
Here is a link to a draft page like the real one:

http://users.skynet.be/bk288888/testpage/index.htm

Now you can see what i mean. There is also the PHP script that generate the page (but this page is fake...). As you see the pop up window has a field to fill in as reference for the issue number, and this must be automatic displayed.
Again, Thanks a million!! :lol: :lol: :lol:

Posted: Wed Jun 12, 2002 3:14 am
by ozmodiar
You can pass the issue number in the URL.

$issno = $myrow["Issue_Number"]

onClick=\"MM_openBrWindow('windowcomments_provv.htm?id=$issno','','width=620,height=350')

Then set the value attribute of the issue number field to $id