Jump to content

darkshad0w

New Members
  • Posts

    9
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

darkshad0w's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hi, when someone logs in to my page, i have a form displayed with names, address, etc...what i need to do is when i hit the update button for that information to go into the MYSQL table I have created and over write that information if a user updates...so how do i do that?
  2. here is my current form this is where the "username" is being pulled from no? <html> <head> </head> <body> <form action="submit.php" method="post"><br/> <h1>Registration form</h1><br/> Username: <input type="text" name="username" /><br/> Password: <input type="password" name="password" /><br/> <input type="submit" value="submit" /> </form> </body> </html>
  3. Hi I am trying to figure out with this example i saw online does not work...I am building a database to store user and password and i keep getting an error "undefined index username" i need it to pull the username from mysql database so how do i do this??? mysql_connect("host", "username", "pw") or die (mysql_error()); mysql_select_db('username') or die (mysql_error()); if(mysql_num_rows(mysql_query("SELECT * from users WHERE username='" . $_POST['username'] . "'")) == 1) ( this is the error line) now I have the actual host username and pw in my file i just took it off for my security lol.
  4. not using any SQL/MYSQL in my coding so it would have to be through other means...when i type in a name it goes to my other php file to input name/or update (can't get update file to work either)
  5. very simple type using form methods and $_GET global to retrieve information sample: form action="Addinfo.php" method="get">First Name <input type="text" name="first" size="15" /> Last Name <input type="text" name="last" size="15" /><br /> <br /> Address <input type="text" name="address" size="15" /> City <input type="text" name="city" size="15" /><br /> <br /> <select name="state">
  6. Hey so i need help searching for contacts in my telephone directory...how do i do that in my php? is it a form method or if statements?
  7. Hello I have created a calendar with a working loop however I need help being able to 1) Add months Jan, Feb etc ( can do this) 1a) being able to click those months as links and select the day
  8. That was perfect thank you but can you explain this line <select name="gorilla" size="5" multiple="multiple"> i understand the select name but what is "SIZE" and "MULTIPLE" doing?
  9. Hi all, My problem is i have created a table with a scroll bar and I am trying get it so it can select the items inside right now you can only take the cursor and highlight the names. I want to be able to actually click on the name to have it selected kind of like when you upload a file you can click it....and select other files and it highlights it blue sort of thing... <td><div style="overflow:auto; height:300px;width:90px;"> joey Bob evan </div> thanks
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.