Re: [PHP] mysql query/$post problem

2006-03-27 Thread Jasper Bryant-Greene
PHP Mailer wrote: Mark skrev: [snip] $query = "INSERT INTO users AVATARS WHERE id =$user_id '','$avname')"; mysql_query($query);s [snip] I am trying to insert the value of $avname into the users table, into the avatar field. I think what you are trying to do is coordinated a bit wrong, perh

Re: [PHP] mysql query/$post problem

2006-03-27 Thread PHP Mailer
Mark skrev: I havnt even tried this query but i know its wrong can anyone help! *** ** I am trying to insert the value of $avname into the users table, into the avatar field. Hello Mark, I think what you are trying

Re: [PHP] mysql query/$post problem

2006-03-27 Thread chris smith
On 3/27/06, Mark <[EMAIL PROTECTED]> wrote: > I havnt even tried this query but i know its wrong can anyone help! > > > *** > include("header.php"); > include("connect.php"); > > $comp_id = $_SESSION['comp_id']; > $user_id = $_SESSION['user_id']; > > // Grab var

Re: [PHP] mysql query/$post problem

2006-03-27 Thread nicolas figaro
Mark a écrit : I havnt even tried this query but i know its wrong can anyone help! *** don't you need a session_start() somewhere ? (or it's in the header.php or connect.php perhaps ?) $comp_id = $_SESSION['comp_id']; $user_id = $_SESSION['user_id']; //

[PHP] mysql query/$post problem

2006-03-27 Thread Mark
I havnt even tried this query but i know its wrong can anyone help! *** ** I am trying to insert the value of $avname into the users table, into the avatar field. -- PHP General Mailing List (http://www.php.net/) To unsu