Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.
after sql echo
Hey … This is probably really basic … But i dont know how to do it … After someone presses submit on my form the INSERT php/sql code is exicuted plainly like this :
$sql = 'INSERT INTO dotticms
.navigation
(name
, link
, target
, status
) VALUES (\'new\', \'new\', NULL, \'1\');
I want a peice of code to be exicuted after the person has pressed submit and sql INSERT'ing has completed ….
mastergamer wrote:
$sql = "your sql query";
mysql_query($sql) or die("SQL query failed, please try again"); //Will kill the script if it goes wrong
//Since we have got this far in the script, nothing has gone wrong
echo "whatever";
blah();
blah();
blah();
ahhhh yea … forgot about killing the script