But what could the user be typing into the field to return an array? I'm completely at a loss.
Quoting "Joseph W. Goff" <[EMAIL PROTECTED]>: ### Whatever variable that is suppose to contain the URL is an array. If you ### try to print a variable that is an array the value you get is 'Array'. ### You ### will either have to step through it, or implode it, or something of that ### nature to get what the array contains. ### ----- Original Message ----- ### From: <[EMAIL PROTECTED]> ### To: <[EMAIL PROTECTED]> ### Sent: Monday, December 16, 2002 11:50 AM ### Subject: [PHP] URL field receiving Array for others ### ### ### > ### > 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 ### > ### > ### > -- ### > PHP General Mailing List (http://www.php.net/) ### > To unsubscribe, visit: http://www.php.net/unsub.php ### > ### ### ### -- ### PHP General Mailing List (http://www.php.net/) ### To unsubscribe, visit: http://www.php.net/unsub.php ### ### -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php