#40 Incorrect example code in CUBRID PHP Manual at PHP.net Docs

Manual
open
Esen Sagynov
5
2010-11-12
2010-11-11
Esen Sagynov
No

There seems to be a problem in the example provided in CUBRID PHP Manual at PHP.net Docs http://kr.php.net/manual/en/function.cubrid-real-escape-string.php.

Both the problem seems to be unusual, and the output is incorrect. As a result XE developer made a mistake in his code. Please fix this and submit back to PHP.net Docs SVN.

Discussion

    • assigned_to: catalinc --> kadishmal
    • status: open --> closed
     
  • fixed now

     
  • Esen Sagynov
    Esen Sagynov
    2010-11-12

    I don't see any fixes. What has been fixed?

    Either the output should be "SELECT * FROM users WHERE user='\'username\'' AND password='"pass"', Or the example is wrong.

     
  • Esen Sagynov
    Esen Sagynov
    2010-11-12

    • status: closed --> open