PHP with WAP
| From: | jechul wee | Date: | Thu, 24 Aug 2000 15:35:56 +0000 |
| Subject: | PHP with WAP | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-30523@lists.php.net to get a copy of this message | ||
Hi,
I was trying to use input fields from .wml. I currently have a .wml page that works with php format. However, when input is submitted, the value gets to next <card> as $(fname) and and i can't seem to use that value with in my mysql_query function. Is there some work around for this? Thanks. Jechul >> here's my current program.
<?php
echo "<p>RESULT : $(fname)</p> ";$result = mysql_query("SELECT name FROM establishment where name like '$(fname)%' ",$db); for($col=0; $col < mysql_num_rows($result); $col++){ printf("<p>%s</p>", mysql_result($result,$col,"name")); } ?> ________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com