I have a software. There is a table, there are URLs in this table. There are 100 URLs on each page. picture Then I got an API where I can pull Alexa and DA Values. I wanted to show these values …
Tag: php
Laravel add calculate the sum where the value is in another table
Basically i have two tables. answers and choices . In my choices table, I got a column choices.value which is has values 0-4. My current query like this $answers = DB::table(‘answers’) …
php Api hosted on AWS s3 bucket
I wanna host a php file that retrieve data from a mysql DB how ever aws is not authorizing POST method. I need to know how can I add the code in PHP knowing I already configured the Bucket policy and …
How to retrieve data from database and able to edit in summernote editor?
I’m facing a problem and i couldn’t find a solution to solve it. My problem is that i have apply a plugin which called as ( Wysiwyg – summernote editor into my Laravel framework project ) . Everything works fine but when i click on the edit page, the data is unable to retrieve from the datab…
how to pass the variable to the input?
I have this code in my blade: @php $images_products = $product->images()->where(‘main_image’, 0)->get(); foreach ($images_products as $image) { $preloadedFiles[] = [ …
Access nested related objects with where clause in Laravel using Eloquent
I’m trying to get a list of tasks that are associated with a specific client, but there is no direct relation between a task and a client. I also need to filter those tasks based on task status and …
Laravel 6.11: Shopping cart HasMany::fisrt() in Accessor not working
EDIT: typos corrected (made while translating some of the code) I’m building a shopping cart with Laravel 6.11 (MAMP). I am getting a couple of errors that are driving me nuts. Please help! First I’…
TYPO3 fill backend fields in content element with database values
I’m trying to distribute JSON data from inside a tt_content database field into the other existing fields, like the TYPO3 default input field header. I tried finding a hook which lets me handle the …
Questions on the possible fastest relation graph alghorithm in PHP
Good morning, so here is my problem. And sorry in advance if my english isn’t perfect. Anyway, I have a huge amount of relation between numbers formated as so : $relation1 = [1, 2]; $relation2 = [2, …
Deprecated each in code igniter xssclean helper
I have a codeigniter helper called xssclean for input validating form data If i give array it show each deprecated error. Here is my function in my xssclean_helper.php function xssclean($str) { if (…