Is it possible to get the id passed to a route in laravel if there is no model with that id using the missing function?
I am using model binding in a route and I want to handle the case where an id is missing
I am using model binding in a route and I want to handle the case where an id is missing
I am trying to connect my laravel project to a mongodb. My php version is 8.1. I downloaded the threadsafe
The code snippet is:
ob_start();
echo 'ok';
ob_get_contents();
exit;
Expected result: should print nothing.
Actual result: for some
I am trying to add a cookie in my add_cookie.php file like so:
<?php
setcookie("TestCookie", 'epic_test', time()+3600);
exit('cookie set');<br
I am trying to add the time to the date but I am having trouble with the correct code to
I retrieve data with the post method as below
$no_wa1= $_POST['no_wa'][0];
$no_wa2= $_POST['no_wa'][1];
$no_wa3= $_POST['no_wa'][2];
then I want to
In PHP I need to highlight multiple given words in a string, for example wrapping found matches inside a <em>
I have a page which feedbacks which looks like this (I just show 1 comment per page to see if
I have got a basic registration and login forms and when the user registers then their information is sent to
I have an html form used to edit a record in a mysql table.
In the case of editing, I