Hello,
I have a page called guestbook.php in which contains
$('#guest_form').ajaxForm({});
When the form is triggered it goes to a save.php page which contains and values inserted
if($_POST['x']){
$xx = $_POST['x'];
$yy = $_POST['y'];
$zz = $_POST['z'];
$query_one = "INSERT INTO xxx (x1,yl,z1,z2) values ('$xx','$yy','$zz','00000')";
mysql_select_db($database_1, $1);
$Result = mysql_query($query_guest_one, $1) or die(mysql_error());
So far so good.
Now I run a select query based on the insert and display it in a div on the guestbook.php page. That is where I cannot do it.
All help appreciated.
Thanks
Jean