Jump to content

recordset and strings


metrostars

Recommended Posts

Hey,

I have this query in a recordset

SELECT DATE_FORMAT(NOW(),'%d/%m/%Y %I:%i %p') FROM users

When i click OK it appears as normal, but then when i try to echo this in the page, it changes to DATE_FORMAT(NOW() AND another variable called string.

How do I either stop string appearing or get string and the 1st variable to echo on the page?

Thanks.
Link to comment
https://forums.phpfreaks.com/topic/16466-recordset-and-strings/
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.