Forums

This topic is locked

DWMX/PHP/MySQL

Posted 21 Jun 2002 19:58:59
1
has voted
21 Jun 2002 19:58:59 Bill Aten posted:
My page pukes when I ask for a record based on a screen variable. If I put a hard string in the RecordSet such as WHERE member_id = '12345', it works perfectly. If I say 'WHERE member_id = 'FindNbr'
and specify the variable as 'FindNbr' and '%' and 'Request.StringQuery("member_id", it gives me an error. I've tried variations of the RunTime Value, but apparently, I don't know what to put there.

CharlieB

Replies

Replied 30 Jun 2002 11:30:05
30 Jun 2002 11:30:05 Daniele genlock replied:
No:
'WHERE member_id = 'FindNbr'

this isr ok:
'WHERE member_id LIKE 'FindNbr'

Reply to this topic