Reviews, updates and in depth guides to your favourite mobile games - AppGamer.com
|
|
random pic help |
Page: 1 | Reply |
Oct 17th 2003 | #125160 Report |
Member since: Aug 29th 2003 Posts: 97 |
I've had tons of people asking me about a random picture script I used on a site... so I decided to put the script online. If you're good at php, plz have a look and tell me what you think. If something needs improvement or whatever. And for those who might need such a script - just grab it! LINK! |
Reply with Quote Reply |
Oct 19th 2003 | #125297 Report |
Member since: Jun 30th 2001 Posts: 447 |
It looks good! However, you might want to take a look at the following PHP functions which provide a better randomizing algorithm: mt_rand and mt_srand
|
Reply with Quote Reply |
Nov 27th 2003 | #130730 Report |
Member since: Nov 6th 2001 Posts: 240 |
if the images are stored in a MySQL database, you could use this sql query:
|
Reply with Quote Reply |
Nov 27th 2003 | #130811 Report |
Member since: May 13th 2003 Posts: 644 |
can you insert a img through PHP ADMIN??? if so can anyone tell me how thanxs a mil. |
Reply with Quote Reply |
Nov 27th 2003 | #130816 Report |
Member since: Nov 26th 2001 Posts: 2586 |
phpMyAdmin -> if you create the table, the column for image files is of type BLOB .... Then in phpMyAdmin when you browse that table you can update it, it has a link button you can browse for that image. |
Reply with Quote Reply |
Page: 1 | Back to top |
Please login or register above to post in this forum |
© Web Media Network Limited. All rights reserved. No part of this website may be reproduced without written permission. Photoshop is a registered trademark of Adobe Inc.. TeamPhotoshop.com is not associated in any way with Adobe, nor is an offical Photoshop website. |