No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
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 … |
|
Re:
I'm having a trouble getting my php script to validate user input what am I doing wrong here? This just displays the error message all the time. for example: [code] if(!preg_match("/[^a-zA-Z0-9\.\-\Ä\ä\Ö\ö\Ü\ü\ ]+$/",$name)||empty($name)) { print '<td colspan="2" class="ErrorText"><div align="right">Please enter a valid name without special characters i.e. *,/,< etc. </div></td>'; $error++; … |