My connecting URL form in html to PHP does not work
I suspect the cause of your problems is here: $video = $_POST[‘subject’]; if ($video == true){ For example, if our subject is https://www.youtube.com/watch?v=dQw4w9WgXcQ then the check is: if ( ‘https://www.youtube.com/watch?v=dQw4w9WgXcQ’ == true ) And we know that true is not https://www.youtube.com/watch?v=dQw4w9WgXcQ, so the check here is incorrect. What we want is to check if $video … Read more