User Profile

Collapse

Profile Sidebar

Collapse
RPreetham
RPreetham
Last Activity: Jan 20 '07, 04:27 AM
Joined: Jan 10 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • RPreetham
    replied to A php script to suggest usernames
    in PHP
    I checked that site..but it does not have the stuff to generate names...Anyway I may try it out myself.Thank You
    See more | Go to post

    Leave a comment:


  • RPreetham
    replied to A php script to suggest usernames
    in PHP
    Thank You so much..I will check it out
    See more | Go to post

    Leave a comment:


  • RPreetham
    replied to A php script to suggest usernames
    in PHP
    Yes This is exactly what I did ..I wanted to know is there any other efficient manner...
    I used the string functions too..
    I am making all the combination of username ,first name ,last name and then combine the name with number etc..and each time checking the database...
    So I guess this is the only way to do that...
    Thnaks
    See more | Go to post

    Leave a comment:


  • RPreetham
    replied to A php script to suggest usernames
    in PHP
    Thanks..but that link does not suggeest available ids..
    See more | Go to post

    Leave a comment:


  • RPreetham
    replied to A php script to suggest usernames
    in PHP
    Below is the code which check whether the username already exist!..
    [php]
    //Check if username already exists...
    // connection to database made here
    $q2 = mysql_query("SE LECT * FROM `members` WHERE `username` = '".$_POST['username']."'");
    $q3 = mysql_fetch_obj ect($q2);
    if($q3->username == $_POST['username']) {
    die('<BR><BR>So rry, but the username "'.$q3->username.'"...
    See more | Go to post
    Last edited by ronverdonk; Jan 10 '07, 04:48 PM. Reason: enclosing code with tags

    Leave a comment:


  • RPreetham
    started a topic A php script to suggest usernames
    in PHP

    A php script to suggest usernames

    Hi,
    I am a new member.I want help in the following...
    A script that receives an username and checks if the username is
    available, if not then suggest a new username using as input
    the username, firstname , and lastname....
    Please help me.I am a beginner to PHP.
    I am no where able to find a solution to suggest name from user input firstname, middle name and last name.
    Thank you so much..
    Pr...
    See more | Go to post
No activity results to display
Show More
Working...