PHP & MySQL syntax problem.
Here's the problem:
$_POST['location'] is being sent from a previous page.
Here's my code:
$query = ('SELECT * FROM curr_vacs WHERE job_location = "$_POST['location']"');
$query = ('SELECT * FROM curr_vacs WHERE job_location = "ATOWN"');
To test it, I was using:
$location="ATOWN"; $query = ('SELECT * FROM curr_vacs WHERE job_location = "$_POST['location']"');
I'm still VERY NEW to php, but cannot figure it out.
Any advice is greatly appreciated.
Cheers,
Andy.
The Hydrurga WSO - Rank Your Site #1 And Score Over The Penguin Updates!
The Hydrurga WSO - Rank Your Site #1 And Score Over The Penguin Updates!