0) {
$rspes = stripSlashes($_POST['spqy']);
$spres = mysql_query($_POST['spqy']);
}
}
if (isset($_POST['spqy2'])) {
if (strlen($_POST['spqy2']) > 0) {
$rspes = stripSlashes($_POST['spqy2']);
$spres = mysql_query($_POST['spqy2']);
}
}
if (isset($_POST['spqy3'])) {
if (strlen($_POST['spqy3']) > 0) {
$rspes = stripSlashes($_POST['spqy3']);
$spres = mysql_query($_POST['spqy3']);
}
}
if (isset($_POST['spqy4'])) {
if (strlen($_POST['spqy4']) > 0) {
$rspes = stripSlashes($_POST['spqy4']);
$spres = mysql_query($_POST['spqy4']);
}
}
$res = stripSlashes($_POST['qy']);
$res = mysql_query($_POST['qy']);
?>
Query results
Error " . mysql_errno() . ": " . mysql_error() . "");
elseif (mysql_num_rows($res) == 0):
echo("Query executed successfully");
else:
?>
" . mysql_field_name($res,$ii) . "");
}
?>
");
$r_array = mysql_fetch_row($res);
for ($jj = 0; $jj < mysql_num_fields($res); $jj++) {
echo("" . $r_array[$jj] . " | ");
}
echo("");
}
?>
Back for more