php and sql trouble, please help

PHP coding talk.

Moderator: Moderators

Postby UseLess on Sun Dec 31, 2006 7:06 pm

Greetings,

After a quick glance over the above I find....

1. An option is closed with '</option>' not '</optional>'.

2. This;
Code: Select all
$user_country = htmlspecialchars($HTTP_POST_VARS['country']);
should be;
Code: Select all
$user_country = intval($HTTP_POST_VARS['country']);


3. At a wild guess I'd say this was wrong: $user_country = stripslashes($interests);

I stopped reading at that point....
Movie Quote:
It's not the years honey, it's the mileage...

I do not provide any install services for phpBB, Mods or Styles.
Please do not pm me for support/scripting help - you won't get any reply. If you have a question then make a post in the appropriate forum.
User avatar
UseLess
Registered User
Registered User
 
Posts: 6220
Joined: Mon Sep 27, 2004 2:14 am
Location: North East, UK

Return to PHP Programming

Who is online

Users browsing this forum: No registered users and 2 guests

cron