User Profile

Collapse

Profile Sidebar

Collapse
scatfly
scatfly
Last Activity: May 30 '07, 12:31 AM
Joined: May 29 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • scatfly
    started a topic Need help with implode function

    Need help with implode function

    I have a set of values that were put into a form and am now using this to put into a database. this is my error:

    "Warning: implode() [function.implod e]: Bad arguments. in /home/xxxxxx/public_html/login.php on line 177
    Couldn't execute insert query."

    [PHP]
    $today = date("Y-m-d");
    $fields_str = implode(",",$fi elds);
    $values_str = implode('","',$ values);...
    See more | Go to post

  • scatfly
    replied to Query/confusion
    is the "include" statement wrong? im not sure if the index.php belongs there
    See more | Go to post

    Leave a comment:


  • scatfly
    started a topic Query/confusion

    Query/confusion

    I am getting this error:
    Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/xxxxx/public_html/login.php on line 164
    Couldn't execute select query.

    from this code:
    [code=php]
    $sql = "SELECT loginname FROM member
    WHERE loginname = '$loginname'";
    $result = mysql_query($co n,$sql) // <-- Line 164
    or die("Couldn't...
    See more | Go to post
    Last edited by Atli; May 30 '07, 07:17 PM. Reason: Added code tags
No activity results to display
Show More
Working...