Tag : php

way to start a php project:
First Download XAMPP;
xampp click on admin to insert code for xdebug;
xdebug download;
workbench (mysql);
Insert your own project in htdocs folder;
add php_debug.dll in ext folder;
edit php.ini file zend_extension = xdebug;
edit vscode extension php debug settings.json;
To open settings.json go to VSCode to File => Preferences => Settings => Button Open Settings.Json;
executable path on php.exe directory; Expecting: start functional php project;<..

Read more

I have a PHP script that retrieves values from columns in the database. The script works well, but in some cases, it doesn’t retrieve values when searching for words containing the Arabic letter “إ” only. However, it retrieves all other words without any problem. I tried searching for this letter “إ” directly in the MySQL database, and it retrieved the values without any issues. But when using the query in PHP, it doesn’t retrieve anything when the word contains the letter “إ”. I need help solving this ..

Read more

I have a PHP script that retrieves values from columns in the database. The script works well, but in some cases, it doesn’t retrieve values when searching for words containing the Arabic letter “إ” only. However, it retrieves all other words without any problem. I tried searching for this letter “إ” directly in the MySQL database, and it retrieved the values without any issues. But when using the query in PHP, it doesn’t retrieve anything when the word contains the letter “إ”. I need help solving this ..

Read more

I am a beginner in php.
In a site written with php, I need a message to be displayed to confirm or reject the customer’s order. I can do this with javascript, but the user can close it.
If the user does not assign a task to the customer’s order in his user panel within 5 minutes, he should not be able to work with the panel until the status of that order is determined. After that, he can work with the site panel and check and approve or reject the rest of the orders.
I have no idea how to block user access until the status of that particular order is deter..

Read more