Home>
I am making a membership registration form, but I get an error when connecting to the database.
I would appreciate it if you could teach me what should not be done. ↓ Database column for registration
] (83982ddd482b1d941f617cf118c387d5.png)
Code
// Create SQL to register data
$sql = "INSERT INTO MEMBER (id, NAME, KANA, TEL, MAIL, YEAR, SEX, MAGAGINE, PASS_TMP, PASSWORD) VALUES (0, '$_ POST [your_name]', '$_ POST [your_kanaName]', '$_POST [your_number] ',' $_ POST [your_mail] ', $_ POST [birth_year], $_ POST [gender], $_ POST [agreement],' test ',' test ') ";
Cannot register with database
I have checked the contents of the database many times and should not be wrong.
-
Answer # 1
Related articles
- php - laravel 55 membership registration page is not displayed
- github - about the production registration of the program source
- php - wordpress cron registration cannot be confirmed in "wp_control"
- php - i can't register an account because i can't store it in an array
- php - payment using square i want to register a memo or product name in payment
- php - i want to call my name using my membership information, but
- php - i get an http error 500 error only in a production environment
- php - i want to register an image on the laravel admin management screen
- i want to register with the insert statement of php
- php - i want to sandwich the registration completion screen after email authentication with laravel
- php - i don't know the location of the method register() called by /register
- how to register multiple lines at once from form registration in access
- user registration like php twitter
- php - i want to move to the production environment of wordpress
- about data registration from php to mysql
Related questions
- How can you display the latest articles (last 24 hours) in php? [closed]
- php : joining 2 MySQL tables and outputting data to a table
- How to write data from form to mysql database? PHP 7
- Sort php array by value
- php : How to list categories along with subcategories and posts in WP?
- php : How to display information from a table in a loop (RedBean)
- Get data from two Symfony tables
- mysql : App Engine Standard connection to Cloud SQL Latency Randomly
- I'm not getting an error, but I can't insert (fuelphp)
- php : I want to manage the database connection using environment variables, but it doesn't load properly.
, it is not.
However, it is impossible for others to judge from the current question content that even if "the contents of the database have been confirmed, it is not wrong".
Please add and revise the question according to the indications you have already made.
Also, when I answer this kind of question in various places, I write (Example: How to update DB information using ajax)
Make sure to execute it directly before executing from the program.