Is this what you are suggesting?
PUBLIC PAGE
Code:
<?php include("/path_above_root/scripts/formvalidation.php"); ?> <form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>"> <input type="text"
<?php include("/path_above_root/scripts/formvalidation.php"); ?> <form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>"> <input type="text"
<form method="post" action="../scripts/formvalidation.php"> <input type="text" /> </form>
<input type="radio" name="product" value="standard"
$sql_statements = split('\;\*', $sql_file); for ($i = 0; $i < count($sql_statements) - 1; $i++) { if (!mysql_query($sql_statements[$i], $connection)) { $msg="Failed to submit the query: ".$sql_statements[$i]; return false; } }
$sql_statements = split('\;\*', $sql_file); for ($i = 0; $i < count($sql_statements) - 1; $i++) { if (!mysql_query($sql_statements[$i], $connection)) { $msg="Failed to submit the query: ".$sql_statements[$i]; return false; } }
<?php $sql_file=<<<SQL_FILE DROP TABLE IF EXISTS `table_name`;* CREATE TABLE
<?php $sql_file=<<<SQL_FILE DROP TABLE IF EXISTS `table_name`;* CREATE TABLE IF NOT EXISTS `table_name` ( `id` int(11) NOT NULL auto_increment, `name` varchar(250) default NULL, `address` varchar(250)
Leave a comment: