* Thus wrote [EMAIL PROTECTED]:
> Hi, 
> 
>  can i ask what is the difference between writing and getting data from files and 
> from SQL.
>  

files: lots of coding
sql: easy


>  will retrieving data from files have a problem like if 2 person access the same 
> file at the same time and causing the data to crush? or will the situation be the 
> same to SQL?
>  

You will always have race conditions. who is writing what and
reading when. SQL servers handle these races.


>  because i will wish to use file instead of sql, hope that there won't be a 
> difference. i would wish to the what is/are the difference between them in every 
> details.
>  

An alternative to using files is to use SQLite. It is a file base sql datatase
that can be use easily be used and avoid the above mentioned
issues.


Curt
-- 
First, let me assure you that this is not one of those shady pyramid schemes
you've been hearing about.  No, sir.  Our model is the trapezoid!

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to