URL field receiving Array for others
| From: | rw at xend dot net | Date: | Mon, 16 Dec 2002 17:50:14 +0000 |
| Subject: | URL field receiving Array for others | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-128438@lists.php.net to get a copy of this message | ||
Hello All!
I have a script which inserts a users info into mysql via PHP.
Here is the code which does so:
$sql = ("INSERT INTO
business (id, bt_id,
bus_name, bcity, phone,
cell, email, url, details,
duration, s_id, license, datime,
comments,ip,user_id,user_pass)
VALUES
('', '$bus_type_id', '$bus_name', '$city_id',
'$phone', '$cell',
'$email', '$url', '$details', '$duration',
'$state_id', '$license',
'$date','$comments', '$REMOTE_ADDR', '$user_id',
password('$userpass2'))");
and it sends a mail to me, however crude:
100% ASAP Plumbing and Rooter Specialist, City ID: 2647
1-866-FIX- GUARD,
l
Array (this is supposed to be a url)
PlumberASAP.com Specializing in Drains, Faucets, Filters, Repairs, Sprinkers,
Installations, Water Heaters, Disposals, Copper Plumbing, Leak Detection. Fast,
Clean and Courteous Service Danny McGowan Owner/Operator
,
12 months,
I can't duplicate the problem.
Any idea what is happening here?
Thanks