Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - Inserting Strings Into a Database

Inserting Strings Into a Database

Put your problem here if it does not fit any of the other categories.

Inserting Strings Into a Database

Postby krammark23 » Thu Aug 13, 2009 6:19 am

Hello,

This is probably a simple problem, but I'm stumped. I'm trying to take a String and insert it into my database, but this String contains items such as ", ', ) and spaces. I've tried doing a quick String.replace("'", "\\\'") and then adding "'" to the start and end of each string, but it's still not working.

Any help is appreciated.

--Mark
krammark23
Freshman
Freshman
 
Posts: 2
Joined: Thu Aug 13, 2009 6:13 am

Top

Postby krammark23 » Thu Aug 13, 2009 6:39 am

Nevermind that, I think I found my answer.

http://www.webdeveloper.com/forum/showt ... hp?t=81753

Cheers.
krammark23
Freshman
Freshman
 
Posts: 2
Joined: Thu Aug 13, 2009 6:13 am

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 8 guests