hi,
I am doing a insert query over here and if the query is executed successfully, there will be a success message. However, whenever the query is being executed successfully, the success message is not being displayed.
here is a snipet, can anybody guide me along? thanks alot.
//Execute SQL Statement and store results as a recordset
$result= mysql_query($sql) or die (mysql_error());
if ( $result != "" )
{
echo "Contact successfully added.";
}
else
{
echo "Please try again.";
}