note 38491 deleted from function.ocicollsize by vincent
| From: | vincent@php.net | Date: | Wed, 24 Dec 2003 08:56:53 +0000 |
| Subject: | note 38491 deleted from function.ocicollsize by vincent | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-62403@lists.php.net to get a copy of this message | ||
Note Submitter:
----
$st="";
if (!$title=="") { $st.="<u>Title</u> =$title "; }
print_str($st,2,1);
include("db_conn.php"); // connect to database
// connect to Mysql
$sql="SELECT * FROM BOOK where BOOKTITLE LIKE '%$title%'";
mysql_query($sql, $db);
$result= mysql_query($sql, $db);
$count = mysql_numrows ( $result );
$st= "<br/><br/><b>Record Found: $count </b>";
print_str($st,2,5);
if( $count<1)
{
exit;
}