Jump to content

how to store as string mysql query


mpsn

Recommended Posts

Hi, how do I store as a string (in a variable) a mysql query b/c what I'm doing below outputs Resource id in client browser:

 

<?php
//database connection set up etc
$show=mysql_query("SELECT file_Name FROM xdocument WHERE doc_id=95");
print $show;
?>

 

Any help much appreciated, thanks.

Link to comment
https://forums.phpfreaks.com/topic/250138-how-to-store-as-string-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.