Php Code

  legendcrest 12:53 09 Jul 08
Locked

i have this code but its not returning anything
?php
// Connects to your Database
mysql_connect("localhost", "adonaine_searchm", "my_passwprd") or die(mysql_error());
mysql_select_db("adonaine_wee") or die(mysql_error());
$cscsno=$_POST['cscsno'];
$data = mysql_query("SELECT * FROM balance WHERE chno ='$cscsno'") or die(mysql_error());
Print " table border cellpadding=3>";
while($info = mysql_fetch_array( $data ))
{
Print " tr>";
Print " th>CSCS NO: /th> td>".$info['CSCSNO'] . " /td> ";
Print " th>ACCT NO: /th> td>".$info['ACCT NUMBER'] . " /td> /tr>";
Print " th>SYMBOL CODE /th> td>".$info['SYMBOL CODE'] . " /td> ";
Print " th>UNIT: /th> td>".$info['UNIT'] . " /td> /tr>";
Print " th>BROKER: /th> td>".$info['BROKER'] . " /td> ";
}
Print " /table>";
?>

This thread is now locked and can not be replied to.

Huawei P10 review

1995-2015: How technology has changed the world in 20 years

How VR is being used to simulate space

New iPad, iPhone SE & Red iPhone 7 on sale now