Page 1 of 1

help in updating mysql

Posted: Sun May 23, 2004 11:37 pm
by dakkonz

Code: Select all

<?php
echo "<td><a href="mailto:xxx@xxxxx.com" onClick="include_once('trial.php');" ><b>Send a Comment</b></a></td>";
?>
can anyone tell me wat is wrong?? i want to update a field in the database once ppl click on this link....

Posted: Mon May 24, 2004 1:23 am
by feyd
the code you posted will attempt to run a javascript function called include_once. It will not run the php script trial.php.