Re: MYSQL Query problem...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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);
?>

'$email'. '$webpage' <-- shouldn't this be:'$email' , (comma ;)) '$webpage'





laters,


Fedde

~= Everybody lies, but it doesn't matter because nobody listens =~

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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux