I’m trying to help a friend with a website. I usually don’t work with PHP, jquery. The dropdown has 4 levels. The first level has 4 points. The 4 points have their own sub-levels, different for each other. I’m trying to find them and then make them display in a dropdown, directly from the da…
Regex detect a sub-string from a string, and replace with white space
Need to detect all the instances of a sub-string of the form “Índice – n -” from a string and replace them with a white space. Also, “n” can be any positive number and there can be …
PHP Looping data from 3 table relation into each div element
I need help. I want to show div element in my Codeigniter PHP page from 3 table relations: model = Controller : View : Above code show repeated sub_category_name by item_name. output Now= I want to get achieve data echo = Question: How to show/Looping item_name each by sub_category_id …? Thank’s f…
How to fix “Undefined property: stdClass::$gamme” [closed]
Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 1 year ago. Improve this question I am new in the Laravel this is my first app. I have 2 tables: art gamme I …
WooCommerce – Remove product title from breadcrumbs but keep all category hyperlinks
I’m using the following function to remove the product title from the breadcrumbs displayed on the product page: add_filter( ‘woocommerce_get_breadcrumb’, ‘ed_change_breadcrumb’ ); function …
Removing eval from PHP function [closed]
Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 2 years ago. Improve this question I want to know if there is a way to remove eval() from my code. In this fu…
Display shipping class name on WooCommerce single product pages
Need to display the product shipping class to product page! any ideas why this is not working? add_action(‘woocommerce_single_product_summary’, ‘display_product_shipping_class’, 15 ); function …
PHP: Combine these two SQL queries into one
I use MariaDB and have a table where each row has a date and a score. I want to first show the rows where the date is 3 days old or newer, sorted by the score – then show the rest (more than 3 days …
Popover button – Css (Colors)
I’m having a problem here in solving a problem, I have a popover that takes the information from the database is possible if there is nothing posted in the “note” field, does it change the …
Laravel Eloquent concat and groupBy() AND return one title of each group
I have a table that contains, amongst other columns, a column of browser versions. And I simply want to know from the record-set, how many of each type of browser there are. my code is : output : I want to group all browsers, without the browser version like this: Answer One way you can pull this off is to