note 107439 deleted from function.str-replace by tularis

From: Date: Thu, 09 Feb 2012 12:28:02 +0000
Subject: note 107439 deleted from function.str-replace by tularis
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-185937@lists.php.net to get a copy of this message
Note Submitter: sint.risingstar@gmailcom ---- I use php programming language.I want to upload excel file into my database.Excel file contain Enter character in each cell.It is not accepted in SQL.In Excel , "Kyaung Su Village,//Enter Nyaung Don Tsp,//Enter Ayeyawaady Division"//Enter In my code, $order=array("/r/n","/n","/r"); $address=str_replace($order," ",$address); When I echo $address,it only show "Kyaung Su Village"(the first part). How can I replace with?I would like to know the answer.

« previous php.notes (#185937) next »