filter_input or FILTER_SANITIZE_FULL_SPECIAL_CHARS causing troubles with non-english language in PHPMailer
I am having problems with PHPMailer and no similar answer is helping me.
The problem seems to be in filter_input or FILTER_SANITIZE_FULL_SPECIAL_CHARS but I really don’t know how to fix it.
Create a PHP script to sent data into MySQL database
I need some advice. I have been given this assignment at my internship. The task is to create a booking calendar. I managed to create it but currently I have a problem with the backend specifically with sending data from the form to the database using php.
PHP date from MySQL format to swedish month. Error DateTimeInterface
I have a row coming from mysql query like this:
How to differentiate admin and user in mysql php using session?
I have been trying a few ways to direct to admin page or user page but its always unsuccessful. Here is my login.php page. Can anyone help me on this? Is there anything i can add in the if($user) session? Thank you in advance!
PHP Login script says wrong user or pass no matter what
I am new to PHP and having a problem with a PHP login script
I cannot see the error but it is telling me (when testing it) that there is a wrong username or password. Here is the code:
PHP select dropdown options from number of days in mysql table
I am not sure if it can be done or not.
How to upload image onto server with php?
I would like to send my image to a folder on my server and save the relative path in the database so that I can use it later, but my current code does not work, it is impossible to move the image to my user-images folder
How to upload image on database with php?
I would like to send my image to a folder on my server and save the relative path in the database so that I can use it later, but my current code does not work, it is impossible to move the image to my user-images folder
HTML/PHP Won’t add to MySQL
I’m running into an issue with my code where the PHP portion of it works, the mysql portion works, and I’m pretty sure the html portion works but I can’t put it all together for some reason. If I had to take a guess the html is wrong or I’m missing something.
Error when creating a record in a table with a foreign key
I have these two tables in my mysql database: