
*$foo = "This is Murang'a town"; $sql = "INSERT INTO mytable SET comments = '".mysql_real_escape_string($foo)."'";* On 20 September 2010 11:03, Calvin Omari <calvinebarongo@gmail.com> wrote:
Hi Techies, How do we insert words like 'Murang'a' in mssql as it will be seen as an unclosed quote Regards
-- Our greatest fear is not that we are inadequate, but that we are powerful beyond measure. It is our light, not our darkness, that frightens us.
Calvin Omari Systems Developer/Designer http://www.facebook.com/barongo
_______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------ Skunkworks Server donations spreadsheet
http://spreadsheets.google.com/ccc?key=0AopdHkqSqKL-dHlQVTMxU1VBdU1BSWJxdy1f... ------------ Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke
-- mOgetutu | STOP! Before posting your questions, remember the WWW Golden rule: What did you try? What did you get? What did you expect to get? | Input -> Controller | Processing -> Model | Output -> View