About 305,000 results
Open links in new tab
  1. PHP: Inserting Values from the Form into MySQL - Stack Overflow

    After hitting my save button, nothing happens, database is still empty. I tried echo'ing the INSERT query and it takes all values from the form as it is supposed to. After I try to check if this …

  2. Using a Submit Button to insert an entry into a MySQL database …

    Mar 14, 2013 · I'm pretty new to PHP, so I'm not quite sure on what to do with this. Basically I'm trying to insert an entry into my MySQL database, through a "submit" button in HTML. I can't …

  3. Trying to add values from HTML form into mySQL database using …

    Mar 31, 2022 · Warning: Your code is vulnerable to SQL Injection attacks. You should use parameterised queries and prepared statements to help prevent attackers from compromising …

  4. php - Insert data into multiple tables using one form - Stack …

    That said, you should REALLY consider both switching two either PDO or mysqli for your queries rather than the mysql extension and also looking into prepared statements and properly …

  5. php - Insert form data into MySQL database table - Stack Overflow

    Sep 7, 2015 · 0 I want to insert data from a form into a table but everytime i hit submit nothing happens, i checked and re-checked everything but i can't find the reason. indextest1.php

  6. php - How to insert into MySQL using mysqli - Stack Overflow

    Oct 12, 2011 · 42 I am just learning about databases and I want to be able to store user inputs. What would be a basic example on how to get form data and save it to a database using …

  7. PHP date () format when inserting into datetime in MySQL

    Feb 7, 2010 · 413 What is the correct format to pass to the date() function in PHP if I want to insert the result into a MySQL datetime type column? I've been trying date('Y-M-D G:i:s') but …

  8. PHP mySQL - Insert new record into table with auto-increment on …

    Wondering if there is a shorthand version to insert a new record into a table that has the primary key enabled? (i.e. not having to include the key column in the query) Lets say the key column …

  9. Insert current date in datetime format mySQL - Stack Overflow

    But it'll use MySQL server locale/timezone. If U have Apache/PHP and MySQL on different servers and timezone set incorrect in one of them U'll have different values.

  10. Inserting datafrom form into mysql with POST method

    Dec 1, 2013 · I havent do php for some time, but i dont really see what am I missing. I am trying to insert some datas from FORM into MYSQL , but it still fail. This is the file with FORM : …