Jump to content

sperophp

New Members
  • Posts

    2
  • Joined

  • Last visited

sperophp's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hello All, i just finished creating my first form to database application. this form has a 136 variables but each time i testrun the form by filling some of the fields ramdomly it inserts into the database. However filling the whole 136 inputs on submission writes nothing to the data base. is there a limit of input a form can submit to a database? any idea of what i should do thanks?
  2. @move_uploaded_file( $upload_Temp , $uploadFile); chmod($uploadFile, 0644); $upload_URL = "uploads/".$upload_Name ; $uploadFile = "uploads/".$upload_Name ; $id=$_POST['id']; $name=$_POST['name']; $upload_Name=($_FILES['FILE']['name']); //Writes the information to the database mysql_connect("localhost", "freak_admin", "what") or die(mysql_error()); mysql_select_db("freak_doc") or die(mysql_error()); mysql_query("INSERT INTO `users_cv` VALUES ('$id', '$name', '$upload_Name')"); Hello Good Php Gurus! i have tried to find my way around this but no show.from the php admin everything works fine including the name of the file visible. the above code works when i view the info on my view.php(the field for name shows) however the field for upload_name is blank because the idea I had isnt working below <td> echo "<a href=" ./ $upload_URL . basename($row_users['file']) . "> {$row_users['upload_Name']}</a>";</td> Can someone help me with what i am doing wrong? thanks newbie
×
×
  • 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.