From: Hank Date: May 22 2007 6:45pm Subject: Re: Mysql and Textarea List-Archive: http://lists.mysql.com/mysql/206918 Message-Id: <1990a96b0705221145h46b7c469gee831f738373977c@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_69212_9724450.1179859538357" ------=_Part_69212_9724450.1179859538357 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 5/22/07, sam rumaizan wrote: > I'm just a php beginner. > So please be patient with my stupid questions. > > What am I missing in this code that causing the function can't update the > textarea? > > Update button erase the old information from mysql database and replace it > with nothing. Basically it can't read what is inside the Textarea box. Why?? > > Read the highlighted code. Your problem is in this line: mysql_real_escape_string($_REQUEST['Assign_Engineer'][' .$id . ']['Job_Title']); you want something more like (may or may not work): mysql_real_escape_string($_REQUEST["Assign_Engineer[$id]['Job_Title']"]); Since this is a PHP problem, and you can't figure it out, I'd suggest moving your request to a PHP list. -Hank ------=_Part_69212_9724450.1179859538357--