User Profile

Collapse

Profile Sidebar

Collapse
phani000
phani000
Last Activity: Feb 11 '10, 01:51 PM
Joined: Feb 5 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • phani000
    started a topic is this update query works

    is this update query works

    hi

    UPDATE flag FROM table_name SET flag=1 WHERE flag=0

    if not suggest me
    See more | Go to post

  • phani000
    replied to how can i verify my login name if exists
    in PHP
    Code:
    <?php
     include 'conifig.php';
     
     $pass=md5($_POST[password]);
    $sql="INSERT INTO meconzee1_user VALUES ('','$_POST[firstname]','$_POST[lastname]','$_POST[middlename]','$_POST[radio]' ,'$_POST[loginname]','$pass',
    '$_POST[dateofbirth]','$_POST[address1]','$_POST[address2]','$_POST[state]','$_POST[city]','$_POST[country]','$_POST[pincode]','$_POST[mailid]','$_POST[answer1]','$_POST[answer2]','$_POST[answer3]')";
    ...
    See more | Go to post
    Last edited by Atli; Feb 5 '10, 01:53 PM. Reason: Added [code] tags and replaced real email address with an example.

    Leave a comment:


  • phani000
    replied to how can i verify my login name if exists
    in PHP
    thanx for your help but i am getting this error


    Warning: mysql_fetch_arr ay(): supplied argument is not a valid MySQL result resource in


    line 8
    okay, no prob with login nameMail Sent.Error: Column count doesn't match value count at row 1
    See more | Go to post

    Leave a comment:


  • phani000
    started a topic how can i verify my login name if exists
    in PHP

    how can i verify my login name if exists

    hi
    how can i check my login name in database from php page if it already exists
    . so that i should not allow the same login name for another user . can any on help me with simple code
    See more | Go to post
No activity results to display
Show More
Working...