[PHP-DB] Invoking database php file with hyperlink
I need to fetch data from database with the help of a php file, not with the click on a button but click on the hyperlink. I know this is simple but i have not done it. Please advice or give me some link. ?what and how to put here? Get it Main php file is bars.php that fetches data from MySql DB -- View this message in context: http://www.nabble.com/Invoking-database-php-file-with-hyperlink-tf2806556.html#a7830342 Sent from the Php - Database mailing list archive at Nabble.com. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DB] Invoking database php file with hyperlink
Hi button/hyperlink, no difference. It's the page that is target that does the work Niel -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DB] Invoking database php file with hyperlink
Chris Carter wrote: I need to fetch data from database with the help of a php file, not with the click on a button but click on the hyperlink. I know this is simple but i have not done it. Please advice or give me some link. ?what and how to put here? Get it Main php file is bars.php that fetches data from MySql DB As another chap has remarked, you don't actually need a button, form or link for a php script to run. Just put whatever queries you want on the page and they will happen whenever the is loaded by a user. If you want to pass variables, via a hyperlink, in order to call specific data from a table, then use the format... a href=somepage.php?variable_1=xvariable_2=yvariable_3=zLink/a Good luck, Jeffrey -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php