SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Thread: add string

Hybrid View

  1. #1
    SitePoint Guru
    Join Date
    Apr 2001
    Location
    BC, Canada
    Posts
    630
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    mysql_query("INSERT INTO coupons (username,password,deal,details,logo,hits,expires) VALUES ('$username','$password','$deal','details','$logo','$hits','$expires'");

    see any problems?
    I sure as hell dont
    no errors.. its just not doing it..

  2. #2
    SitePoint Zealot DarkMonkey's Avatar
    Join Date
    Apr 2001
    Location
    uk
    Posts
    170
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well in your VALUES( ) the details bit doesn't have the $ ... does that mean anything at all to you? or is it on purpose?

  3. #3
    SitePoint Guru
    Join Date
    Apr 2001
    Location
    BC, Canada
    Posts
    630
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanx, but i noticed that and fixed it..still nuthin

  4. #4
    SitePoint Guru
    Join Date
    Apr 2001
    Location
    BC, Canada
    Posts
    630
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    figured it out
    I didnt have enough ) and the closing quote was in the wrong place


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •