![]() |
I wouldn't want to run into a problem if two albums have the same key.
|
What problem exactly ?
|
What I want is to filter the albums by a key. I just want one album per key. If two albums is to have the same key, both albums would be displayed. I do not want that. I want them to be displayed individually.
|
Prefix it with the userid then.
|
Use an autoincrement albumid as identification, the random key as password.
|
Is it really THAT difficult to do? I'm not trying to find short cuts. I'm trying to learn more PHP.
|
Well it is not difficult to do, just generate a number, check in the database if it is already used, and generate another number if it was in use.
We only trying to help you find the best solution to your problem. |
Well, Im trying to find out how to create that loop. Which I'd like to learn how it's done. Thanks for trying to help. -_-'
|
Something like (not tested):
PHP Code:
|
Quote:
|
All times are GMT. The time now is 06:12 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|