Question: Another one for PHPs? if i want to pass on the book_id ($id)  and a keyword that the user types in ($keyword), to another php file called showDescrip.php, wud this b good?\n\n<a href='javascript:openpopup ("showDescrip.php?id=<?= $id > && search=<?= $search?>")'\n\nbecause i know that this works but passes the id only..\n<a href='javascript:openpopup ("showDescrip.php?id=<?= $id ?> ")' \n\nheres wat the openpopup script looks like \nfunction openpopup(url) \n{\n  var features =\n    'width=600,height=500,status=0,location=0,resizable=1,scrollbars=1';\n  open( url, 'fileview', features );\n}\n\ni wanna get the keyword into the url, to pass along and capture in the showDescrip.php. help? did i do it right up on top? Help!

Answer: You need to use a single ampersand in the URL, and you need to change the variable to $keyword:\n\n<a href='javascript:openpopup ("showDescrip.php?id=<?= $id > & search=<?= $keyword?>")'>link text</a>
This question from the Yahoo Q&A forum is categorized in the topic: Family & Relationships