Posted by Caonex Tue 13th Mar 2007 16:04 - Syntax is PHP - 14 views
Download | New Post | Modify | Hide line numbers
Download | New Post | Modify | Hide line numbers
PHP parser reported no syntax errors in this post!
Description:
Fill.php is called to display the table from database....it
Fill.php is called to display the table from database....it
-
-
//echo 'Connected successfully';
-
$selected = $_GET['Type'];
-
// Performing SQL query
-
if ($_GET['Type'] != ""){
-
$query = "SELECT `Paid` ,`Id` , `FirstName` , `LastName` , `Guest` , `Parish` , `Type` , `ReceptionAdults` , `ReceptionChildren` , `LucheonTotal` , `LuncheonTotalChildren` , `TotalDue` , `Address` , `City` , `State` , `Zip` , `Phone`
-
FROM Conference Where `Type`='".$selected."' ORDER BY Id";
-
}
-
else {
-
$query = 'SELECT `Paid` ,`Id` , `FirstName` , `LastName` , `Guest` , `Parish` , `Type` , `ReceptionAdults` , `ReceptionChildren` , `LucheonTotal` , `LuncheonTotalChildren` , `TotalDue` , `Address` , `City` , `State` , `Zip` , `Phone`
-
FROM Conference ORDER BY Id ';
-
}
-
-
-
-
echo "
\n";
\n";echo "Paid # First Name Last Name Guest Parish Type PR Adults PR Children Luncheon Adults Luncheon Children Total Phone City State Zip Phone $color = 0;if($color == 0){echo "\t\n"; $color = 1;}else{$color = 0;echo "\t\n"; \n";}echo "\t\t\"javascript: req('Delete.php?Id=".$line['Id']."','Delete')\" name=\"Delete\" type=\"button\" value=\"Delete\"/> \n";echo "\t\t\"javascript: req('Paid2.php?Id=".$line['Id']."','Paid')\" name=\"Paid\" type=\"button\" value=\"Paid\"/> \n";foreach ($line as $col_value) {}echo "\t}echo " -
-
-
// Free resultset
-
-
// Closing connection
-
-
-
?>
PermaLink to this entry https://pastebin.co.uk/11822
Posted by Caonex Tue 13th Mar 2007 16:04 - Syntax is PHP - 14 views
Download | New Post | Modify | Hide line numbers
Download | New Post | Modify | Hide line numbers
Comments: 0