473,395 Members | 1,977 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Php + XHTML forms

I have made an xhtml form and i want to query a sql database with the
entries to the fields using a php script. I can do this using html,
what are the differences when using xhtml?

Thanks
Jul 17 '05 #1
2 1804
None, xhtml and html is the language used to present the data. It's like
comparing what's the difference of showing the text in red color or blue
color.

Savut

"Stephen" <st*******@hotmail.com> wrote in message
news:ef************************@posting.google.com ...
I have made an xhtml form and i want to query a sql database with the
entries to the fields using a php script. I can do this using html,
what are the differences when using xhtml?

Thanks


Jul 17 '05 #2
Stephen wrote:
I have made an xhtml form and i want to query a sql database with the
entries to the fields using a php script. I can do this using html,
what are the differences when using xhtml?

Thanks


The difference is that a well formed XHTML document should start with a
"<?XML ..." declaration.
1. Problems occur when your PHP has the 'short_open_tag' option set to ON.
2. Some browsers have problems with the <?XML declaration.

Ingo
Jul 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

59
by: Philipp Lenssen | last post by:
I've tested some of the new Nokia 6600 functionality. It ships with WAP2 and XHTML Support (it says). What it does is check the Doctype -- if it's not the XHTML Mobile Profile Doctype, but a...
3
by: Robert Smith | last post by:
I have a very basic form validation script, which wont work due to XHTML Strict not allowing me to use the name attribute on a form. Here is part of my code: if...
5
by: tamas.hauer | last post by:
Hi, I am trying to create a tabular-looking collection of forms. I have a <table> ... content ... </table> with each row a separate form (collecting many actions on the same page). The layout...
2
by: Eric Sessoms | last post by:
I am trying to create forms on the fly in strict xhtml using javascript. I won't bore you with why, but I should mention that I'm only interested in the very latest versions of Mozilla based...
32
by: Cornel Bicutzi | last post by:
Hello, What is the difference between HTML and XHTML... Thanks, ------------------------------------------------------------------------ IT Interview Questions :...
28
by: Timothy Larson | last post by:
A couple years ago it seemed like XHTML was the direction of most web markup, a foregone conclusion. Now I return to the scene and I see many here recommending that authors stick to HTML, albeit...
4
by: Alexandre Drolet | last post by:
I have heard a lot of time that one day XML will replace XHTML for Web page development; and that XHTML will not be used anymore. Since XHTML is still widely used,do you think that these "sayings"...
2
by: Cat | last post by:
I created a web site, and I thought I followed XHTML 1.1 rules. But when I validated the pages, I got some error messages. I found that those codes are automatically generated parts by ASP.NET. ...
6
by: Dick Watson | last post by:
I had a page that works when setup like this: === <form name="frmCalc" action=""> <script type="text/javascript"> function btnCalc_onclick(abc) { return "got here with " + abc; }
6
by: Guy Macon | last post by:
cwdjrxyz wrote: HTML 5 has solved the above probem. See the following web page: HTML 5, one vocabulary, two serializations http://www.w3.org/QA/2008/01/html5-is-html-and-xml.html
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.