Why this code $sql = 'SELECT pagerank FROM {website_pr} WHERE url=%s AND timestamp < %d'; PHP: when I debug always shown the value : SELECT pagerank FROM {website_pr} WHERE url=%s AND timestamp < PHP: and throwing away the %d ?!? Is there something I missed?
Oopps .. i wrote the wrong code ... it should be : $sql = "SELECT pagerank FROM {website_pr} WHERE url='%s' AND timestamp<%d" PHP:
Thanks for the replies, turns out that it's only the debugger that shows the incorrect value. So everything is all good now.