Jump to content

Stealthrelentless

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Stealthrelentless's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Thank; I actually figured it out.. My declaration of it was below the insert. all i had to do is move it above the insert and whala it works. I was echoing the $uid to see that it was 2. so that was not the problem.
  2. Hey all Im working on an assignment for school and currently I am trying to inser the variable $uid which currently = 2.. But for someone reason when the post happens it inserts a 0 instead of a 2. Here is my insert mysql_query( "INSERT INTO blog_posts (title, post, author_id, date_posted) ". "VALUES ('$btitle', '$bpost', '$uid', CURDATE())" );
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.