Jump to content


Photo

recordset and strings


  • Please log in to reply
1 reply to this topic

#1 metrostars

metrostars
  • Members
  • PipPipPip
  • Advanced Member
  • 169 posts
  • LocationNewcastle, UK

Posted 03 August 2006 - 04:54 PM

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.

#2 kenrbnsn

kenrbnsn
  • Staff Alumni
  • Advanced Member
  • 8,235 posts
  • LocationHillsborough, NJ, USA

Posted 03 August 2006 - 04:56 PM

Please post the code you're having problems with. And try to explain your problem better.

Ken




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users