Sometime this PHP code works and sometime don’t.. why?
I created a Php program in which a user will give his name and phone number and then the program will redirect to another Php file which is a preview page, after submitting it will go to the previous page and if everything is right it will show us ‘batch added successfully”, else it will show “duplicate value not possible”. Now yesterday this program worked, but today it is not working and fun fact, this same problem happened to my friend and i changed from $res = mysqli_query($conn, $sql);
to $res = mysqli_query($conn,$sql);
and it worked. But today both cases are not working in my program. Note : “phonenumber” is here UNIQUE in my “login” table and I am using XAMPP.
Is there any way that can fix this fatal error?
This is the problem I’m encountering right now.
How to upgrade php from 5 to 8
I have a project with php 5.
Sometimes showing problems in xampp server even though code is right but the same code working well in wampp any reason behind it?
did anybody know the reason behind this,
error log shows nothing xampp php not displaying anything
xampp php not working
Upgrading PHP to 8.3.9 from 8.2.12 on Windows 11 – cURL is not working
Steps I am taking:
Add extension in Ubuntu 22:04 to XAMPP
Working on windows (10 or 11) to emulate a server I used MAMP and to add extension it is very simple. In your php.ini file, e.g, if you want to add curl extension uncomment the line
extension = php_curl.dll
Add extension in Ubuntu 22:04 to XAMPP
Working on windows (10 or 11) to emulate a server I used MAMP and to add extension it is very simple. In your php.ini file, e.g, if you want to add curl extension uncomment the line
extension = php_curl.dll
Undefined array key even though I defined the variable
The following problem appears:
How to insert array into database?
I am currently working on a social media project. When a user is signing up they can select more than one option for a question about them. When this data is inserted into my xammp database it is showing as “array”. how would i make it so that the data is inserted into the same […]