Problem with code for a form that connects with MySQL

Codes here !

Moderators: egami, macek, gesf

Post Reply
User avatar
freshnet
php-forum Active User
php-forum Active User
Posts: 359
Joined: Tue Feb 22, 2011 8:19 am
Location: Canada

Tue Aug 14, 2012 2:41 am

You have started a second <?php block when I think you meant to end the first one.

Code: Select all

mail($my_email,$subject,$message,$headers);

<?php

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
Should be

Code: Select all

mail($my_email,$subject,$message,$headers);

?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests