[PHP-DB] MYSQL Query problem...

2003-09-21 Thread Ian Bert Tusil
is there something wrong with my SQL Query? I didnt get any results neither errors..

?php
$link = mysql_connect('localhost', 'username') or die('Cannot connect to the 
database.');
mysql_select_db(profiles,$link);
$SQLQuery = INSERT INTO profyles (username, fname, mname, lname, address, country, 
gender, sexuality, status, bday, race, yahoo, msn, icq, email, webpage, hair, 
bodytype, eye, height, weight, facialhair, hobbies, interests, aboutme, profession, 
food, music, tvshows, authors, movies, rolemodel, place, visit, online, picture) 
VALUES ('$user', '$firstname', '$middlename', '$lastname ', '$address, '$country', 
'$gender', '$sexuality', '$status', '$birthday', '$race', '$yahoo', '$msn', '$icq', 
'$email'. '$webpage', 'haircolour', '$bodytype', '$eyecolour', '$height', '$weight', 
'$facialhair', '$hobbies', '$interest', '$aboutme', '$profession', '$food', '$music', 
'$tvshows', '$authors', '$movies', '$rolemodel', '$place', 0, 'y' , 'y');
mysql_query($SQLQuery,$link);
?


ian


Re: [PHP-DB] set password on a page

2003-09-20 Thread Ian Bert Tusil

- Original Message -
From: SAGERAT [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, September 22, 2003 12:17 AM
Subject: [PHP-DB] set password on a page


 How do I set up password on a page so that only restricted people can open
 it?

 --
 PHP Database Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php