Need an input to find the solution...

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
paolone
Forum Commoner
Posts: 37
Joined: Tue Jun 11, 2002 10:18 am

Need an input to find the solution...

Post by paolone »

Thanks! it's solved!
Last edited by paolone on Thu Jun 13, 2002 4:23 am, edited 2 times in total.
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post 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
paolone
Forum Commoner
Posts: 37
Joined: Tue Jun 11, 2002 10:18 am

Post 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:
ozmodiar
Forum Commoner
Posts: 35
Joined: Sat Jun 01, 2002 6:29 am
Location: Dublin, Ireland

Post 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
Post Reply