loads of <tr> errors...
The source page is http://www.essentiallyforyouosm.co.uk/form.htm
http://www.nationalmozart.com
http://www.cezanne-ensemble.co.uk
Hi
I've got a form on a page that's proving hard to get w3c validation in XHTML 1.0 transitional...
the form's in a table and the <tr> tags are causing hassle!
I keep getting the error, for example,
"Line 278, column 5: document type does not allow element "tr" here
<tr>
The element named...
Hi,
Can anyone tell me if the series of codes given on the infamous windows XP "Blue Screens of Death" refers to the pc's I/O addresses?...
And if they do.. how can I translate the 8 figure sets into the hexadecimal I/O address??
Thanks
luds
http://www.nationalmozart.com...
Thanks newphpbie,
I'll do that now.
Btw, I'm assuming that if the result of that that php that you told me to put at the top of each page is,
Array
(
)
then I haven't got any session vars. Is that right?
Thanks
luds
http://www.nationalmozart.com
http://www.cezanne-ensemble.co.uk
Hi,
I've got 3 functions on 3 consecutive pages. Each function passes info onto the following page and asks more questions.
Question:
1. The variable $discountSelect only registers 1 on the next page... not the value that is assigned to it in the mysql table. They are all correct on page one...
Isn't 4.7 the completely duff one?????
If it is.. I wouldn't bother about it, cos hardly anyone uses it! lol
luds
http://www.nationalmozart.com
http://www.cezanne-ensemble.co.uk
Glasgow... I can't answer your actual question... but I'd steer clear of using word for html as it produces loads of extra totally useless code!
Notepad is much better :¬)
luds
http://www.nationalmozart.com
http://www.cezanne-ensemble.co.uk
I'm no expert on this language.. but I remember reading something about "escaping" the character.. think if you put a \ before the ' then it's interpreted as an apostrophe.
Could be wrong, mind!
luds
http://www.nationalmozart.com
http://www.cezanne-ensemble.co.uk
All the instructions for the dll's (and more) are in the php install text doc which should be in your root php folder... just look for the section on "Installing PHP for Apache as a module".. don't forget to restart your server for the changes to take effect either...
Yes....YEs..... YES!!!!!!!!!!!! lol
Don't know if it's the most 'economical' way of doing it, but I just added
$firstName=$_POST['firstName'];
$lastName=$_POST['lastName'];
$address=$_POST['address'];
$email=$_POST['email'];
after the database connection at the top of the processform.php...
*looks sheepish*.... I thought that that form in my last post was a post method form???
<form action='processform.php' method='POST'>
and that this posts the values to the next page "processform.php" which can then display them and send them to the database???
Or have I got myself in...
The HTML form I changed slightly.. can't remember why! After ploughing through what seems like hundreds of posts on the web and documentation it;s all become a bit of a blur! lol
It's now..
<html>
<head>
<title>names</title>
<meta http-equiv="Content-Type" content="text/html...
update! .....
WEll, I'm getting there.. I think!
Using $_POST I've got the information entered on the top of the page.... but I still can't fathom out where I'm going wrong in the query so I can write the info to the database!
I've swapped " and ' and added $_POST....eg...
I have Sleipnir... am sure I'll find the error soon!
Maybe my fresh(ish) eyes in the morning will pick up the mistake! lol
Thanks :¬)
luds
http://www.nationalmozart.com
http://www.cezanne-ensemble.co.uk
Sorry to be a pain Sleipnir........ used $POST (cos I eventually don't want info in the URL and cookies aren't always turned on).. code for the second page is now.....
....
foreach ($_POST as $key => $value)
{
echo "$key- $value<br>";
}
$query = "INSERT INTO personal...
ok.... don't want to turn globals on, have reaad that before! and if I'm learning I may as well do it properly!sooooo... am I looking at changing every $variable to $_POST['variable'] ... yes?????
http://www.nationalmozart.com
http://www.cezanne-ensemble.co.uk
Sorry...again!
Notice: Undefined variable: firstName in C:\Program Files\Apache Group\Apache2\htdocs\TMP4eb7o5824.php on line 23
Notice: Undefined variable: lastName in C:\Program Files\Apache Group\Apache2\htdocs\TMP4eb7o5824.php on line 23
Notice: Undefined variable: address in C:\Program...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.