Layout/Master page in laravel
Making Layout or Master page in laravel is very simple . Go through the given steps below.
Step 1: Make a view named Layout.blade.php
Make a view for layout named layout.blade,php in resources\views folder.
Making Layout or Master page in laravel is very simple . Go through the given steps below.
Make a view for layout named layout.blade,php in resources\views folder.
We make user difined function to reuse code. To use user difined function you need to follow the steps
given below.
function Title()
{
echo "Girfa IT Services";
}
This post will help step by step to understand , how to save your HTML form data into Mysql Database.
<form method="post" action="index">
@csrf
Name : <input type="text" name="name" placeholder="Your Name" required class="form-control"><br>
Phone : <input type="text" name="phone" required placeholder="Phone Number" class="form-control"><br>
Message :
<textarea rows="5" name="message" required placeholder="Message" class="form-control"></textarea><br>
<input type="submit" value="Save" name="submit">
</form>
When there is a need to load menu items from the database, then you may have many options like load it from javascript. But the best load time is when you use Razor collaborate with C#. This post will help you to do the same. Follow the step-by-step instructions. I Guarantee that response time is the lowest than any other approach.
public class MenuModel
{
public string ID { get; set; }
public string MenuName { get; set; }
}