<MvIF EXPR="{submit}">
<MvLET assignedto="(Unassigned)">
<MvASSIGN NAME="help" VALUE="len(description)">
<MvASSIGN NAME="bugnumber" VALUE="{random(1000)$time_t$random(help)}">
<MvLET description=glosub(description,asciichar(13),"<BR>")>
<MvASSIGN NAME="" VALUE="{fdelete('temp.dat')}">
<MvEXPORT FILE="temp.dat" FIELDS="bugnumber,subject,description,reporter,assignedto,state, id" DELIMITER="|$%">
<MvIMPORT FILE = "buglist.dat" FIELDS = "bugnumber, subject, description, reporter, assignedto, state, id" DELIMITER = "|$%">
<MvEXPORT FILE="temp.dat" FIELDS="bugnumber,subject,description,reporter,assignedto,state, id" DELIMITER="|$%">
</MvIMPORT>
<MvASSIGN NAME="" VALUE="{frename('temp.dat','buglist.dat')}">
</MvIF>
The first MvEXPORT would at a the new data to the top of the list. The the MvIMPORT with the nested MvEXPORT would add the rest of the data to the list of data. I've been looking through my PHP book and only see how to use databases in it. I was wondering if there is a way to save something like this without the use of a database. I plan on making a few form mages that are going to save some data, but like 3 or 4 entries each. Since my webspace limits the number of databases, i'd rather do it without the use of that.
My second question is about including pages.
would |<?PHP include 'menu.html'; ?> include the file the same way a SSI include would?
Thanks. -Joe |
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php