Note: You are currently viewing documentation for Moodle 1.9. Up-to-date documentation for the latest stable version is available here: Adding a database entry.

Adding a database entry: Difference between revisions

From MoodleDocs
No edit summary
(Do not put spaces after your commas or upload will fail!)
Line 8: Line 8:


At the bottom of the page you'll find a place to upload a csv file, though there are no help documents on what the CSV is supposed to look like. Please test and post your results.
At the bottom of the page you'll find a place to upload a csv file, though there are no help documents on what the CSV is supposed to look like. Please test and post your results.
Do not put spaces after your commas or upload will fail!
[[Image:Upload_csv_sample.png]]


After upload page import.php comes back blank if it failed.  
After upload page import.php comes back blank if it failed.  
If successful you'll read a message like, "1 entries saved".
If successful you'll read a message like, "1 entries saved".





Revision as of 05:15, 3 February 2007


You can add many kinds of fields to your database. After you have created some fields, you will be able to add information to the database.

Database_3.gif



At the bottom of the page you'll find a place to upload a csv file, though there are no help documents on what the CSV is supposed to look like. Please test and post your results.

Do not put spaces after your commas or upload will fail! Upload csv sample.png


After upload page import.php comes back blank if it failed. If successful you'll read a message like, "1 entries saved".


Testing for successful entry into db.

Upload entries.png



New in 1.7