PHP5 is coming out!!!

From: Date: Tue, 01 May 2001 07:52:44 +0000
Subject: PHP5 is coming out!!!
Groups: php.db 
Request: Send a blank email to php-db+get-9012@lists.php.net to get a copy of this message
what's wrong with the following script - <?php if (empty($hidden)) { displayform(); exit; } $site= 'db.alphabot.f2s.com'; $usernames = 'alphabot'; $passwords = 'money'; $dbName = 'alphabot'; $connect = mysql_connect($site,$usernames,$passwords); mysql_select_db($dbName,$connect); $result = mysql_query("SELECT ID, rank, description FROM sites WHERE description LIKE '%$query%' ",$connect); echo $result; function displayform() { global $PHP_SELF; ?> <form method="GET" action="<?php echo $php_self;?>"> <input type="text" size="20" name="query"> <input type="hidden" name="hidden" value="true"> <input type="hidden" name="shown" value="0"> <input type="submit" name="B1" value="Submit"><br> <table cellpadding="0" cellspacing="0" border="0"> <td><input type=radio name=all checked value=no></td> <td><font face="Arial" size="1">Any Of the words</font></td> <td><input type=radio name=all value=yes></td> <td><font face="Arial" size="1">All Of The Words</font></td> </form> <?php } ?> P.S. I don't know when php 5 is coming out. aHaHaHa hehehe hohoho merry christmas thanks _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

« previous php.db (#9012) next »