I am seeing this error on submitting form Error: query was empty [closed]

You need to properly format your strings for insert:

$query = mysql_query("INSERT INTO hireus (name, cname, email, telephone)
VALUES ('ashfaq', 'muhm', 'ashfaq@', '1234566')");

But that’s just the tip of the iceberg with this code…

Leave a Comment