Jump to content

alpha02

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by alpha02

  1. My host allows 100mb but my db is only 100kb. This isn't the problem. I can try to change the type of thje field and check what it gives,

  2. Hello!I have a table where I store the user names and passwords of the members. I use, when creating the account:$pass = $_POST["pass"];$pass = md5 ($pass);$pass = md5 ($pass);mysql_query ("INSERT INTO membres VALUES ('$user', '$pass')");//and I store this in a varchar(35) field.When I log in, it looks for the password in the db and compares it. It works, but sometimes the password juste disappears from the table and I have to go in phpmyadmin tu put it back. The validing page (login) has no script to modify the db. In phpmyadmin, it says :Loss: 60 bytesWhy does it happen? Please help! :)

  3. Hello!I want to make a function to return the row number. Example:table: orders|_____ID_____|_________NAME__________||_____4______|______NOBODY__________||_____3______|_______NONE____________||_____5______|_______NONAME__________||_____2______|_______NOBODY__________|something like:$resource = mysql_query ("SELECT * FROM orders WHERE id = '5'");$rownum = getrownum ($resource);echo $rownum; //write 2I need this for my forum, please help! :)

×
×
  • Create New...