Skip to content

Php find key for min value in 2D array

I have the following 2D array and I would like to get the key of the smalest value in the [0] column if done is equal to no $graph= array( “CityA” => array( “0” => “1”, “1” => “CityC”…

how to force delete in laravel 5.4

I made a user management system with soft deletion and force deletion options. However, I’m having trouble getting the force deletion option to work. The route: Route::post(‘users/{user}/delete’, ‘…

Using Guzzle with GetResponse API to save custom field?

I am sending a post request to the GetResponse API. Everything works fine until I add a custom field (customFieldValues) to save along with my new email contact. When I send the request I get the following error message: I have tried a few things now and not sure how to format this properly to have the API ac…

Codeigniter Pagination Displaying Too Many Links

Using Codeigniter 3 and PHP I have built a web application to display results from a MySQL database. All is working as expected as in the pagination successfully allows users to navigate pages, and …