Jump to content

PHP parser help...


chiching72

Recommended Posts

Hey all,

 

I am supposed to create an e-learning site for a project. At the backend there should be databases for storing learning objects including texts, images, questions and answers, problems and solutions, quizzes, etc. On the server side I am supposed to write some PHP scripts to parse these pieces of hypertexts, taken from database, into HTML documents that can be rendered by Web browsers.

 

I don't even know where to begin... any general suggestions or advice would be greatly appreciated. How do I store images into a database? How many tables should I have in my database, one for each lesson or one for each object?

 

 

Link to comment
Share on other sites

As a start I would suggest one table listing the lessons and one table containing all the objects (or possibly one image table and one hypertext table).  Then you would also have a table that links lessons and their objects together.

 

There are efficiency advantages to having smaller tables and one for each lesson, but the administration can get quite messy.  As for where to start, look for some tutorials and complete them.  The topic is too large to cover here.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.