Another way is to put a column into the table which either<br>
<br>
1. identifies the user that has it locked<br>
2. simply has LOCKED/NOT LOCKED states (can be achieved with boolean or char(1))<br>
<br>
Then when you edit, you simply set the state of that column to locked, and on update, remove...
First of all, but this is probably not a problem anymore, your code has:<br>
<br>
#arBoxType[nBox]#<BR><br>
<br>
instead of:<br>
<br>
#arBoxType[nCount]#<BR><br>
<br>
---
I don't know if this reply is coming too late Perry, but I would suggest you have the one big table. That way it is very easy to show combined headlines from all the sports by simply ignoring the sport field, and you can also have specific sport pages that only show their own headlines.
Have you tried doing an IF inside the while loop which checks if the $file is not "." and ".."? I don't think you can restrict the listing in the opendir command.<br>
<br>
try something like:<br>
<br>
if (strcmp(".", $file) AND strcmp("..",$file))<br>
{<br>
print ...<br>
}
There shouldn't be a problem in passing query variables. It looks fine, but what you do need to do is establish if #site_query.title# would have spaces in it or not. If yes, then you need to encode it.<br>
<br>
try: #URLEncodedFormat(site_query.title)#<br>
<br>
Also remember you will need a...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.