[FX.php List] Using Text Area to put data into FM

Dale Bengston dbengston at preservationstudio.com
Sat Aug 5 14:58:52 MDT 2006


Hi Ed,

How about adding a comma between the parameters?

$NewRecord->AddDBParam('MoreInfo', $_POST['more_info']);

Dale

On Aug 3, 2006, at 2:39 PM, Edward L. Ford wrote:

> Hi,
> I have a HTML which includes a textarea field for a long  
> description.  When the form is submitted, PHP gives back the error  
> *"Parse error*: parse error, unexpected T_VARIABLE in <server/file  
> path> **on line *21*.
> If I comment out the PHP line which reads "$NewRecord->AddDBParam 
> ('MoreInfo' $_POST['more_info']);"
> submission goes into the FM database just fine.
>
> Can anyone provide suggestions about how I get this textarea field  
> into the database?
>
> Thanks,
> --Ed Ford
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list



More information about the FX.php_List mailing list