I would like to get idea on how to process a while loop which consist of more than 3000 rows while ($row = mysql_fetch_array($result)) { if $row[“Status”] == 1 { //Curl 3PP and …
Uncaught Error: Class ‘SimpleXMLElement’ not found
SimpleXMLElement doesn’t work! Check php -v: php -m: I used PHP 7.2, install php-xml, php-simplexml and etc. log: php: Answer On my Ubuntu enabled PHP7.0. Need PHP 7.4 Thx for help everybody.
Search in the main model relationship in Laravel
I am beginner in Laravel. I have small problem with my code In my system I have cabinets and boards from which it is made. I’m doing a cupboard builder. Each cabinet has specific plates assigned to it….
Update about 1 million rows in MySQL table every 1 hour
I use Codeigniter 3.1.11 and have a question. I need to update about 1 million (in future will be much more) rows in MySQL table every 1 hour by Cron. But problem is if I update more than about 200-300 rows using this code, my server CPU is 100% loaded and table is stopping update after about 200-300 rows. An…
Bootstrap 4 navbar-toggler button doesn’t work when located at specific sites
At first, my navbar in ADMIN desktop view is like this. This works without any problems. The “add” button is only seen by admin, like the “edit” button from every product. When in …
Sharing link of a page
I am sharing link of an event from profile of user, the page of event is dynamic, When user click on share to Facebook, I get ID of event and store it to Session variable, and I am using this session …
opencart error Fatal error: Uncaught Exception: Error: Unknown column
So first of I apologize for my rocky explanation. My PHP skills need serious refinement. I did get this error Fatal error: Uncaught Exception: Error: Unknown column ‘is_unlimited’ in ‘field list’Error No: 1054INSERT INTO oc_seller_group SET product_id = ‘1202’ ,gquantity = …
htaccess how to rewrite this url
How to rewrite this URL: https://example.com/illustrations.php?category=cats&cat_id=1 to: https://example.com/category/cats also, how do I still preserve cat_id param? I tried this but it does …
PHP and javascript Array Literals
I need help, sending data from the server. shaped and I process but I don’t know exactly how to approach individual parameters. you don’t know where the problem is. enter image description here Answer The problem is that the data is coming back as a string, and you’re trying to read it as JS…
For inside of for loop PHP
How i can assign to multiple categories multiple variants like colors, for example i have a product who can be in 3 categories but this product have 3 colors as variants how i can make a mysql structure to avoid insert in same row delimited by comma. There is what is tried: And what i want to do is to