SQL PHP Help!
Moderators: Admin, Moderator Team
-
- Moderator
- Posts: 2030
- Joined: Fri Jul 18, 2003 8:37 pm
- Location: Esher, Surrey, Land Of Hope And Glory
- Contact:
SQL PHP Help!
I've just started out on a massive database project - I'm not disclosing any specifics until I have the site up and running. I'm interested to know who has used SQL and PHP for programming. I touched on SQL a little bit at University, but our teacher's English was so bad I hardly understood anything, so I'm learning it again along with PHP and, well, it's fairly straightforward, but Imay be asking too much from it, time will tell (and sudden plethora of "Help with this PHP code please" type posts!
So, what experiences have you folks had with PHP and SQL, and have you got any pointers?
So, what experiences have you folks had with PHP and SQL, and have you got any pointers?
Moderating behind the bushes!
-
- Posting Freak
- Posts: 476
- Joined: Fri Jul 18, 2003 5:42 pm
- Location: New Brighton, Liverpool, England
- Contact:
-
- Moderator
- Posts: 2982
- Joined: Tue Dec 03, 2002 3:24 am
- Location: Ballarat, Victoria, Australia
- Contact:
http://uob-community.ballarat.edu.au/units/cp688/
Mt Helen location, then lecture notes and there may be some help there. It covers PHP and MySQL, plus XML, VB.Net etc, even the lab sheets may help
Mt Helen location, then lecture notes and there may be some help there. It covers PHP and MySQL, plus XML, VB.Net etc, even the lab sheets may help
-
- Moderator
- Posts: 2030
- Joined: Fri Jul 18, 2003 8:37 pm
- Location: Esher, Surrey, Land Of Hope And Glory
- Contact:
Grant, you are the man! That's really great!
One thing I have found in the dummies book is that ojects mean the same thing as tables! Why I never understood this when I did software engineering, escapes me! Object Oriented Databases now make complete sense.
You know what, I'm finding this fairly straightforward so far!
One thing I have found in the dummies book is that ojects mean the same thing as tables! Why I never understood this when I did software engineering, escapes me! Object Oriented Databases now make complete sense.
You know what, I'm finding this fairly straightforward so far!
Moderating behind the bushes!
-
- Moderator
- Posts: 2982
- Joined: Tue Dec 03, 2002 3:24 am
- Location: Ballarat, Victoria, Australia
- Contact:
go here also
http://lspace.ballarat.edu.au/
username: student1
password: password
gives you access to many more subjects and their resources across the uni
http://lspace.ballarat.edu.au/
username: student1
password: password
gives you access to many more subjects and their resources across the uni
-
- Moderator
- Posts: 2030
- Joined: Fri Jul 18, 2003 8:37 pm
- Location: Esher, Surrey, Land Of Hope And Glory
- Contact:
I'm doing something like this as an example:
Create a table called Tutor
Tutor ID
Tutor Name
Tutor Birth
Tutor's address (Location)
Tutor's Tutor
Then I have a table called Birth
Tutor ID
Birth Date
Birth Location
Then a table called Location
Location ID
Location Street
Location Town
Location City
Location Country
And finally Tutor's Tutor would contain a different Tutor ID (Cyclic table possible here if a tutor taught their tutor!)
So is that kinda along the right lines here?
I was thinking of adding a table called Event, where you have an Event ID, Date, and detail (Like a birth).
Create a table called Tutor
Tutor ID
Tutor Name
Tutor Birth
Tutor's address (Location)
Tutor's Tutor
Then I have a table called Birth
Tutor ID
Birth Date
Birth Location
Then a table called Location
Location ID
Location Street
Location Town
Location City
Location Country
And finally Tutor's Tutor would contain a different Tutor ID (Cyclic table possible here if a tutor taught their tutor!)
So is that kinda along the right lines here?
I was thinking of adding a table called Event, where you have an Event ID, Date, and detail (Like a birth).
Moderating behind the bushes!
-
- Moderator
- Posts: 2030
- Joined: Fri Jul 18, 2003 8:37 pm
- Location: Esher, Surrey, Land Of Hope And Glory
- Contact:
Well I have heaps and heaps of heaps of tables, I was just showing a segment as an example. I have about 4 pages of tables so far!
EDIT: Well, this is going to take a long time to program. In the mean time, I've come up with a couple of other projects to.
Is there a more secure alternative to php with SQL? I have an application that needs good database security.
EDIT: Well, this is going to take a long time to program. In the mean time, I've come up with a couple of other projects to.
Is there a more secure alternative to php with SQL? I have an application that needs good database security.
Moderating behind the bushes!