Re: Simple search engine gone bad
| From: | Lisi | Date: | Tue, 30 Apr 2002 09:07:12 +0000 |
| Subject: | Re: Simple search engine gone bad | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-18891@lists.php.net to get a copy of this message | ||
Hi Jennifer,
if($searchword = $iname)try it with a double equals sign if($searchword == $iname)
{ echo "<TABLE BORDER='0' WIDTH='95%' CELLPADDING='0' CELLSPACING='0'><TR>"; echo "<TD width=20%><a href='usershop.php?user=$user'>$user</a></TD>"; echo "<TD width=40%><font size=2>$iname</font></TD>"; echo "<TD width=20%><font size=2><CENTER>$q</CENTER></font></TD>"; echo "<TD width=30%><font size=2><CENTER>$price</CENTER></font></TD>"; echo "</TD></TR></TABLE>"; } }