Jump to content

Show mySQL query


petenaylor

Recommended Posts

Hi all

 

I have created a mySQL query and assigned it to a string:

 

$getjobs = mysql_query (" SELECT * FROM jobs WHERE from_date >= '".substr($newdate, 0, 10)."' $keyword_search $sector_search $salary_search $location_search $type_search ORDER BY job_refno DESC ") or die (mysql_error());

 

Is there any way to output the actual query to the browser to check it?

Link to comment
https://forums.phpfreaks.com/topic/262019-show-mysql-query/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.