Invoking database php file with hyperlink

Invoking database php file with hyperlink

am 12.12.2006 11:03:25 von Chris Carter

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.


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-hyperl ink-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: Invoking database php file with hyperlink

am 12.12.2006 11:11:30 von Niel Archer

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: Invoking database php file with hyperlink

am 12.12.2006 11:43:34 von jeffreyb

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.
>
> >
> 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...



Good luck,

Jeffrey

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php