Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: Removing text in HTML with PHP - Help Please

  1. #11
    Join Date
    Aug 2008
    Location
    Smiths, AL
    Posts
    164
    Thanks
    30
    Thanked 5 Times in 5 Posts

    Default

    jsalmi_oicu812

    Thanks I'll check it out. I do have another thing I want to add to the page but only if it's not a huge deal. Should be a small script though.

  2. #12
    Join Date
    Aug 2008
    Location
    Smiths, AL
    Posts
    164
    Thanks
    30
    Thanked 5 Times in 5 Posts

    Default

    okay actually there are a couple of things.

    First thing is after clicking upload Image the text disappears (AWESOME WORK) but after the image is uploaded and it creates the thumbnail it then displays the thumbnail along with the text again.
    Ideas???

    2. I can't get my required check box to be required. I found a script online somewhere this morning and tried it but it wouldn't work with my situation.

  3. #13
    Join Date
    Aug 2008
    Location
    Smiths, AL
    Posts
    164
    Thanks
    30
    Thanked 5 Times in 5 Posts

    Default

    Okay I have a new problem here now. Wonder if anyone can give me a hand...

    okay I have a code on the site now that works but it's only for a username and password.

    I have modified it to add other fields. I don't get any error codes when creating a member but it's not writing the data to the database anymore. Only thing I changed was this info:

    PHP Code:
    $insert "INSERT INTO users (first_name, last_name, email, gender, city, state, country, username, password) 
    VALUES ('"
    .$_POST[first_name]."','".$_POST[last_name]."','".$_POST[email]."','".$_POST[gender]."','".$_POST[city]."','".$_POST[state]."','".$_POST[country]."','".$_POST[username]."','".$_POST[pass]."','".$_POST[pass2]."')"
    //VALUES ('".$_POST['username']."', '".$_POST['pass']."')"; //reference Code 
    $add_member mysql_query($insert); 
    Got any clues as to what I did wrong?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •