Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #27.9K
2 Posted Topics
I am trying to create an update query for a website, and I keep getting an syntax error message. I narrowed it down to the table column that is the only field that is set to be of type text. [code]UPDATE company SET references = "blah blah blah" WHERE company_id …
I don't use preg_match, but this code works for me to make sure users only use numbers and letters. [code] if (eregi ("^[[:alnum:]]+$", $_POST['username'])) { $a = TRUE; } else { $a = FALSE; $message[] = "Please enter a username that consists only of letters and numbers."; } [/code]
The End.
nanharb