[56K WARN] Starting up my php course
Posted: Sat Jul 29, 2006 9:47 pm
feyd | Please use
Here is what they look like in each screan...
In Explorer, even after trying to submit.

In Firefox

I'm not sure if this is a code problem or a software problem. But with this I also downloaded MySQL and php.
:S
feyd | Please use
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
I am just starting to learn php. I downloaded an Apache and I now have a local host..
However.. I've noticed something odd.
I use Dream Weaver to create my pages, and when I go to my localhost, Using Firefox, I get just the page code..
Exactly what I just typed in.
When I do it with Internet Explorer, I get the forms but the php doesn't act.
This was my first lesson with php:Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" >
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="content-type">
<title>Sample Form</title>
</head>
<body>
<form name="sampleform" method="post" action=<?php echo $_SERVER['PHP_SELF'];?>>
<h1><span style="font-weight:bold;">Sample Form"</span></h1>
<?php if (isset($_POST['name']))
(echo $_POST['name'] . '.<br>';}?>
Name: <input name="name" />Address:<input name="address" /> <br />
Comment: <textarea cols="40" rows="2" name="comments"> </textarea><br />
<br />
<input name="submit" type="submit" /><input name="reset" type="reset" /> <br />
</form>
</body>
</html>In Explorer, even after trying to submit.

In Firefox

I'm not sure if this is a code problem or a software problem. But with this I also downloaded MySQL and php.
:S
feyd | Please use
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]