Originally posted by onion2k
Use:
echo "Total uploads: $total";
This way it won't count the numbers of entries, I was trying to echo the number of the entries like this:
echo "Total uploads: $id";
I know this way is wrong since it doesn't show the numbers of the entries. Thats the reason I ask if anyone know how to get the numbers of entries.. I'm sorry if my question isn't very clear. I wonder if you understood my question right. 😕
let me try to clear my question:
I've got a table called: uploads, and I've got 3 fields inside the table called:
id, picture_name and username.
There are many uploaded picture entries, now what I'm asking is how to get the numbers of the uploaded files.