What's wrong with this? The prepare works, but execution fails. <BLOCKQUOTE><font size="1" face="Verdana, Arial">code/font><HR><pre> $sql = "SELECT * FROM email WHERE email_user='richjb' ORDER BY email_dat ASC"; [/code] Thanks. Richard ------------------ richard@brevig.com
FIXED. Boy, I fill stupid. email_dat was supposed to be email_date. Richard ------------------ richard@brevig.com
Forum Rules
Bookmarks