dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: daviddivine

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    906

    Dasher is correct, Or you may want to assign...

    Dasher is correct,

    Or you may want to assign $dbusername to a session:
    session_start();
    $_SESSION['dbusername'] = $dbusername;

    Then echo $_SESSION['dbusername'] in the second page where you...
  2. Replies
    4
    Views
    849

    Okay, try something like this: CODE:

    Okay, try something like this:
    CODE:
    <?php
    $con = mysql_connect("localhost","","");
    mysql_select_db("user",$con);
    if (!$con)
    {
    die('Could not connect: ' . mysql_error());
    }
    $sql="INSERT INTO...
  3. Replies
    5
    Views
    1,099

    $email_query= mysql_query("SELECT email FROM...

    $email_query= mysql_query("SELECT email FROM members WHERE email='$email' LIMIT 1")or die("Could not check Email");
    $count_email = mysql_num_rows($email_query);

    Please change the variable...
Results 1 to 3 of 3
HTML5 Development Center



Recent Articles