How to Embed Google Form in Your Website ??

In this post, we are going to learn to embed a Google Form in our website. We will embed a PHP script in our view file. The PHP script which we have embedded in our page will redirect to the Google Form link.
Source Code for index.php
<!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Embedding Google Form in Your Website</title> </head> <frameset border="0" rows="100%,*" cols="100%" frameborder="no"> <frame name="TopFrame" scrolling="yes" noresize src="form.php"> <frame name="bottomFrame" scrolling="no" noresize> </frameset> </html>
Source Code for form.php
<?php header('location: https://docs.google.com/forms/d/e/1FAIpQLSdosAoV5jB9mgj-4cq6t35iUX3XrTCM-MLuAWUe6FwQW0-VyQ/viewform?usp=sf_link');
You can follow this video for complete reference :