Activity Stream
48,167 MEMBERS
64129 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 10 of 10

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1.     
    #1
    Banned
    Website's:
    CloudNXT.net
    Worked like a charm!!!!
    EnCiPh3r Reviewed by EnCiPh3r on . MySQL insert using PHP Help <?php $con = mysql_connect("localhost","MYSQL USERNAME","MYSQL PASS"); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("seedvps_whm", $con); $sql="INSERT INTO tblcustomaddon location, status, username, password, ip); Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Just Another Coder
    Quote Originally Posted by EnCiPh3r View Post
    Worked like a charm!!!!
    You just missed a '(' before location and you shouldn't add ';' before VALUES where the query is not ending yet.

  4.     
    #3
    Banned
    Website's:
    CloudNXT.net
    Quote Originally Posted by fdls View Post
    You just missed a '(' before location and you shouldn't add ';' before VALUES where the query is not ending yet.
    Thanks man btw is there any way i can do the same script without adding my mysql user and pass information because those are already present in configuration.php (WHMCS)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Where can I insert this code?
    By Divvy in forum Wordpress
    Replies: 7
    Last Post: 21st Oct 2011, 10:29 AM
  2. insert PSD file
    By iobit in forum vBulletin
    Replies: 10
    Last Post: 9th Aug 2011, 08:38 AM
  3. insert 100 urls to database in one go ?
    By jack3r in forum Web Application/Script Support
    Replies: 2
    Last Post: 8th Jul 2011, 10:09 PM
  4. Insert Image Code
    By warezboy in forum vBulletin
    Replies: 12
    Last Post: 9th Jun 2010, 06:16 PM
  5. Insert Image CODE
    By tom247 in forum Web Application/Script Support
    Replies: 3
    Last Post: 9th Jun 2010, 05:04 AM

Tags for this Thread

BE SOCIAL