Hello,
I don't if it possible but I would like to put some review/comment/vote system on my website but without using any database. Is anyone know if this is possible ? I mean, the problem is with the files I'll create each time a user add a comment... (is it possible to lock a file during its modification or what ?)
Hope someone could help me
Chacha
Look in the PHP manual under 'flock'.
Yes, but.... unless you have a very low level of traffic, the database will perform better than the text-file solution.
Hi,
I have 800 records on one page and I want to make a link for each of them. So if I click one of the link and it shows me that particular record. How to do that? Thanks!!!!!!!!
Sue
Just create a link that passes some unique identifier for that record as a variable, e.g.
<a href="edit.php?id=nnnn">
Then edit.php looks at the value of $id, retrieves that row, and puts up a form to edit that record.
Have a good day!!