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>
composer create-project laravel/laravel your-project-name
cd your-project-name
php artisan serve