Images displaying on form but not information to be filled out by user

I am doing a rsvp form for school i valadated my form and have no errors but you can see whole form in dreamweaver but when i go to test it in dreamweaver only images are showing my professor cannot figure out what is going on can someone help me please here is the code i am using.


$firstname ="";
$lastname ="";
$phone ="";
$email ="";
$attending_0 ="";
$attending_1 ="";
$guest_0 ="";
$guest_1 ="";
$foodchoice ="";
$comment ="";


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>New Year RSVP</title>
<link href="rsvp.css" rel="stylesheet" type="text/css" />

<div id="container">
<div align="center"><img src="happy-new-year.jpg" width="300" height="300" /><br />
<h1>New Years Party Rsvp</h1>
<form action="process_rsvp.php"method="post"enctype="multipart/form-data"id='customform">
<h3><strong>Please fill out the rsvp form to let us know if you are attending this years new years party also upload a picture that can be shared at the party:</strong></h3>

    <td><label for="firstname"><b>First Name*</b></label></td>
    <td><input name="firstname" type="text" size="20" id="firstname" value="<?php echo $firstname; ?>"/></td>
    <td><label for="lastname"><b>Last Name*</b></label></td>
    <td><input name="lastname" type"text" size"20" id="lastname" value="<?php echo $lastname; ?>"/></td>
    <td><label for="phone"><b>Phone*</b></label></td>
    <td><input name="phone" type"text" size"20" id="phone" value="<?php echo $phone; ?>"/></td>
    <td><label for="email"><b>Email*</b></label></td>
    <td><input name="email" type"text" size"20" id="email" value="<?php echo $email; ?>"/></td>
    <td><label for="attending"><b>Attending*</b></label></td>
        <input type="radio" name="attending" id="attending_0" value="<?php echo $attending_0; ?>"  />
      <br />
        <input type="radio" name="attending" id="attending_1" value="<?php echo $attending_1; ?>"  />
      <br />
    <td><label for="attending"><b>How many guest?*</b></label></td>
        <input type="checkbox" name="guest" id="guest_0" value="<?php echo $guest_o; ?>"  />
      <br />
        <input type="checkbox" name="guest" value="checkbox" id="guest_1" />
      <br />
    <td><label for="attending"><b>Food Choice*</b></label></td
    ><td><select name="foodchoice" id="foodchoice">

    <td><label for="comment"><b>Comment*</b></label></td>
    <td><textarea name="comment" cols="1" rows="2"></textarea></td>
    <td><b>Upload File*</b></td>
    <td><input type="file" name="file" id+"file" /></td>
    <td colspan="2" align="center"><input type="hidden" name="submitted" value="1" />
<br />
<input type="submit" value="Submit" input id="send"/>
<input type="reset" name="reset" value="Reset" /></td>


Hi edmanhickman. Welcome to SitePoint. :slight_smile:

Dreamweaver isn’t a browser, so don’t use it for testing websites. :slight_smile: (Yeah, I know it’s supposed to show you what a page looks like, but forget it. It’s junk.) Use a browser. So what happens when you view the page you created in a browser?

yeah it does same thing in browser

OK, there is a typo in your form line. Instead of


you should have


So this:

<form action="process_rsvp.php" method="post" enctype="multipart/form-data" id="customform">

it works now ty for your help:)


Cool, glad it’s sorted. Good luck with your course. :slight_smile: