Nice suggestion (Y) will do that
+rep
Edit: Gotta spread! Sorry![]()

Nice suggestion (Y) will do that
+rep
Edit: Gotta spread! Sorry![]()
Lol
nps
Good luck with em![]()
Coming and going...
Highers are getting the better of me
How is the quality of the video and the audio?
Thanks,
Jake
Ive made another cause I was bored (yet again :p)
So here goes:
Tutorial 1:http://jake-hall.co.uk/phptutorials/...click.php?id=1
Tutorial 2:http://jake-hall.co.uk/phptutorials/clicks/click.php?id=2
15.1mb - 9:12mins
If anybody would like to make me a nice layout for this php video page - it only needs to be simple (css maybe?) and without images if possible to reduce load time as the videos are long enough as it is :p. Then it would be greatly thanked!
Thanks and enjoy,
Jake.
Last edited by Florx; 20-11-2007 at 09:09 PM.
i will look at the others in abit, they look kl :]
I have this:
I get the following error: "Parse error: syntax error, unexpected '<' in /home/habbcr/public_html/will/php/form.php on line 47".PHP Code:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
#body {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 9px;
}
</style>
</head>
<body>
<div id="body">
<?php
// The variables
$name = $_POST[name];
$age = $_POST[age];
$email = $_POST[email];
$submit = $_POST[submit];
// If's
if($submit !=""){
if($name !=""){
echo "Whoah! You didn't type a name!";
}
elseif($age !=""){
echo "Whoah! We need your age to verify you are old enough to join!!";
}
elseif($email !=""){
echo "Woah! We need your email to update you on news!";
}
echo "Heya, $name - The details you entered are as followed:<br>
Name: $name<br>
Age: $age<br>
E-mail: $email";
exit;
}
// Form's file name
<form action="form.php" method="post">
// The actual form
Name: <input type="text" name="name"><br>
Age: <input tye="text" name="age"><br>
E-mail: <input type="text" name="email"><br>
// The ending
</form>
?>
</div>
</body>
</html>
Line 47 is:PHP Code:<form action="form.php" method="post">
Yeah cause you didn't either echo the form out or close the php ?> before the form started
Try this :p
PHP Code:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
#body {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 9px;
}
</style>
</head>
<body>
<div id="body">
<?php
// The variables
$name = $_POST[name];
$age = $_POST[age];
$email = $_POST[email];
$submit = $_POST[submit];
// If's
if($submit !=""){
if($name !=""){
echo "Whoah! You didn't type a name!";
}
elseif($age !=""){
echo "Whoah! We need your age to verify you are old enough to join!!";
}
elseif($email !=""){
echo "Woah! We need your email to update you on news!";
}
echo "Heya, $name - The details you entered are as followed:<br>
Name: $name<br>
Age: $age<br>
E-mail: $email";
exit;
}
?>
// Form's file name
<form action="form.php" method="post">
// The actual form
Name: <input type="text" name="name"><br>
Age: <input tye="text" name="age"><br>
E-mail: <input type="text" name="email"><br>
// The ending
</form>
</div>
</body>
</html>
Last edited by Florx; 20-11-2007 at 10:04 PM. Reason: Try this
PHP Code:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
#body {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 9px;
}
</style>
</head>
<body>
<div id="body">
<?php
// The variables
$name = $_POST[name];
$age = $_POST[age];
$email = $_POST[email];
$submit = $_POST[submit];
// If's
if($submit !=""){
if($name !=""){
echo "Whoah! You didn't type a name!";
}
elseif($age !=""){
echo "Whoah! We need your age to verify you are old enough to join!!";
}
elseif($email !=""){
echo "Woah! We need your email to update you on news!";
}
echo "Heya, $name - The details you entered are as followed:<br>
Name: $name<br>
Age: $age<br>
E-mail: $email";
exit;
}
// Form's file name
echo("<form action=\"form.php\" method=\"post\">");
// The actual form
echo("Name: <input type=\"text\" name=\"name\"><br>
Age: <input tye=\"text\" name=\"age\"><br>
E-mail: <input type=\"text\" name=\"email\"><br>");
// The ending
echo("</form>");
?>
</div>
</body>
</html>
Last edited by DeejayMachoo$; 20-11-2007 at 10:12 PM.
What should I do next mail / mysql / functions ?
Thanks,
Jake
Want to hide these adverts? Register an account for free!