User Profile
Collapse
-
A Patron in this case is someone who is hungry and is going to eat. If Uncle Bob, Aunt Sue and Cousin Larry go to dinner, that's 3 "patrons" at one table. -
If this is an html form that posts to itself, you need to be sure to give the following commands before hand:
Code:if (isset($_POST['ptitle'])){ $ptitle = $_POST['ptitle']; {
Leave a comment:
-
No Nested Classes in php? How would I set up the following...?
A simplified example of what I am looking for comes from a restaurant.- The Restaurant has 30 tables (Parent Class).
- Each table has a server and location (Parent Properties).
- At each table is an array of patrons (Child Class).
- Each patron has name and alergies (Child Prop's).
I thought to set it up like this:
Code:class patron { public Name; public Allergies; } class table {
No activity results to display
Show More
Leave a comment: