G
|
gdmacdo 10/13/2013 |
I had this problem with email addresses. I needed to use the email in a session variable but some of the email addresses had apostrophes. After successful login I used: |
![]() |
Admin 10/13/2013 |
Use addslashes() function: |
G
|
gdude66 author 10/13/2013 |
Use addslashes() function: http://php.net/manual/en/function.addslashes.php
|
![]() |
Admin 10/13/2013 |
What is your current code? Simply enclose the value of username field in addslashes() unction call. |
G
|
gdude66 author 10/13/2013 |
What is your current code? Simply enclose the value of username field in addslashes() unction call.
|
![]() |
Admin 10/13/2013 |
Just doesn't make any sense. If there is no code, how it can try to write something to the database? |
G
|
gdude66 author 10/13/2013 |
Just doesn't make any sense. If there is no code, how it can try to write something to the database?
|
![]() |
Admin 10/13/2013 |
As a first step make sure you use the latest available build for the version of PHPRunner you use. |