Re: db table column name to table header name



hm, again - do not use XHTML, because you do not know what you are
doing; Your pages will break.
HTML 4.01 is the standard that everyone should use.

And hey, I already throught you was joking there ;)

Bit of my code:
$user = User::FromPost($registerData);
if ( $user === false ) {
$site->setView("register.invalid");
}
else {
$r=$user->register(&$site);
if ( $r === false ) {
$site->setView("register.error");
}
else {
$site->setView("register.success");
}
}

Well if you really want something to make easily, there's a good
solution - Plone or something like that.
Currently, I am doing both the back (ugly bits) and front (the pretty
bits, like i pasted) on the site.
Though the back bits are not coded nicely at all because I do not
currently have any kind of framework based upon myself, to create SQL
queries etc.
There is a painful job, which was madce by Iain at
http://rocketsled.iaindooley.com/ (google it if you've got any problems
with the site, probably incorrect link). He is a good coder and knows
Java and PHP very well and is applying his Java OOP skills in ugly PHP
world :) A big thanks for the guy, working on enterprise technologies
:)

Just make sure that your HTML pages validate HTML 4.01 strict in w3's
validator. That'll be the best thing :)


Thank you :)

.



Relevant Pages

  • Re: Opera guesses encoding for "application/xml"
    ... How do you validate HTML 4.01 documents? ... An HTML 4.01 doctype is required instead of the HTML5 doctype. ... The XHTML 1.0 Strict and Transitional schemas are used for HTML 4.01 ...
    (comp.infosystems.www.authoring.html)
  • Re: How can I programmatically validate html ?
    ... those columns have badly broken html. ... content in a row and validate that against a html parser. ... will validate HTML for you. ... Always use apostrophe's and "quotation marks" properly. ...
    (comp.infosystems.www.authoring.html)
  • Re: DOCTYPE
    ... But it is appropriate to validate HTML. ... Because HTML is SGML. ... Thats what I said: HTML supports much more than you want to use. ...
    (comp.lang.php)