User Profile

Collapse

Profile Sidebar

Collapse
servo
servo
Last Activity: Dec 13 '07, 06:06 PM
Joined: Nov 25 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Insert Query through PHP does not insert data into MySQL Table

    I am using the following code. Why it does not insert record in the MySQL Table through php script:
    [code=php]
    <?php
    $dbhost='localh ost';
    $dbuser='root';
    $dbpass='newpas s';
    $mysqldb='mysql ';

    if(isset($_POST['add'])){

    $username=$_POS T['username']; // echo test for $username is OK
    $password=$_POS T['password']; // echo test for $password is OK

    $conn=mysql_con nect($dbhost,...
    See more | Go to post
    Last edited by pbmods; Dec 9 '07, 06:05 PM. Reason: Added CODE tags.

  • Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'debscrof'@

    I created a user "test1" (which then got the username "debscrof_test1 " from CPanel), a password for the user "test2", and then added the user to a new database "testdb" with all priviliges

    Then a simple script to connect to the database (as I am trying to locate the source of the errors), as per below:

    [PHP]<?php
    $dbhost = "localhost" ;
    $dbuser = "debscrof_test1 ";...
    See more | Go to post
    Last edited by mwasif; Nov 26 '07, 11:58 AM. Reason: Added [PHP]/[/PHP] tags

  • servo
    started a topic 'mysql-nt --console' does not completing the process.

    'mysql-nt --console' does not completing the process.

    Hi

    I have problem when I use mysql-nt -- console at mysql prompt. The process stops at this line

    Version: '4.0.18-nt' socket: '' port: 3306

    and after Ctrl+c the process aborts and installation does not successful.

    I am using Windows XP but it neve happen before. Let help me
    See more | Go to post
No activity results to display
Show More
Working...