geroido Posted August 21, 2008 Share Posted August 21, 2008 Hi Not sure if this is the right place to post this. I simply want to display my sql query so that I can see what it contains. Not the database results but the query itself. Any ideas? Link to comment https://forums.phpfreaks.com/topic/120689-sql-display-advice/ Share on other sites More sharing options...
MasterACE14 Posted August 21, 2008 Share Posted August 21, 2008 <?php $query = "SELECT * FROM table"; echo $query; ?> Link to comment https://forums.phpfreaks.com/topic/120689-sql-display-advice/#findComment-621908 Share on other sites More sharing options...
geroido Posted August 21, 2008 Author Share Posted August 21, 2008 Thanks that worked great Link to comment https://forums.phpfreaks.com/topic/120689-sql-display-advice/#findComment-621985 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.