I'm getting no errors
Ok, i put it in to echo the variables from the following code
<?php
$page = array();
$page['title'] = 'EquityApex';
include('memheader.htm');
include('connect.php');
$username = $SESSION['username'];
function definitions ($item) {
$$item = $POST['$item'];
}
definitions (entry11);
definitions (entry12);
definitions (entry21);
definitions (entry22);
definitions (entry31);
definitions (entry32);
echo "$entry11 ,";
echo "$entry12 ,";
echo "$entry21 ,";
echo "$entry22 ,";
echo "$entry31 ,";
echo "$entry32 </br>";
$query = "INSERT INTO 1test (1entry1, 1entry2) VALUES ('$entry11', '$entry12')";
$result = mysql_query($query) or die("Error in query :$query. ".mysql_error());
echo "$query </br>";
echo "$result </br>";
unset ($query, $result);
$query = "INSERT INTO 2test (2entry1, 2entry2) VALUES ('$entry21', '$entry22')";
$result = mysql_query($query) or die("Error in query :$query. ".mysql_error());
echo "$query </br>";
echo "$result </br>";
unset ($query, $result);
$query = "INSERT INTO 3test (3entry1, 3entry2) VALUES ('$entry31', '$entry32')";
$result = mysql_query($query) or die("Error in query :$query. ".mysql_error());
echo "$query </br>";
echo "$result </br>";
unset ($query, $result);
mysql_close($connection);
echo "completed";
include('memfooter.htm');
?>
And the echo came back with this
sam23 ,but23 ,bell23 ,wer23 ,23 ,189
INSERT INTO 1test (1entry1, 1entry2) VALUES ('sam23', 'but23')
1
INSERT INTO 2test (2entry1, 2entry2) VALUES ('bell23', 'wer23')
1
INSERT INTO 3test (3entry1, 3entry2) VALUES ('23', '189')
1
completed
So the above entry happens to the database as described, but I'm getting another set of entries that are placing blank data in the net recordset of the table.