Hi all, I am new to php and phpbuilders. This is my first post.
I'm sure what I want to do is amongst the most basic in php. I know what I need but I really don't where to begin.
What I have is a basic html form I have made consisting of header fields and fileds that will be populated from a mysql database. The brackets are the actual db fields and denote where I want the data to populate. Here is a small example of the form.
MY HEADER TO DESCRIBE TEXT BELOW
Age: {age}
Cell Phone: {cell phone}
Sex: {sex}
Home Address: {home address}
Place of Birth: {place of birth}
Apartment: {apartment}
SSN: {ssn}
City: {city}
State: {state}
Zip: {zip}
Can someone point me in the direction I need to go to populate the fields?
One other problem is that the headers, if there are no coorasponding field values, should be ommited from the html. Again, I have the html form already complete with the headers intact but I don't know how to omit them if there are no field values for that particular header.
My table structure is broken down to minimally 3nf and some tables are out to 4nf. There are about 45 tables in total but I am only using certain fields for this template I have created.
The headers are not stored in the database, they are just headers in the html that breaks up the classification of data. For example, a "HUMAN" heading would have height, weight, eye color, etc. Those attributes may be broken out over different tables in the database. Again, that heading is not stored in the db but is only there to make the html template more readable to the end user.
None of this form will need inserts, updates or delete sql. It is simply just a view in a pertty html form.
Thnaks guys!