Page 1 of 1

php to php in html

Posted: Sun Mar 21, 2010 4:29 pm
by jeffmcsweeney
Greetings,

A couple of years ago a company I contracted with made this site to enter random employees above the meatcase:
http://www.alwanandsons.com/packages.php

I am trying to recreate the site with html as the foundation but use php for the random images. So far I am to this point:
http://www.alwans.fatcow.com/bundles.html

I consider myself above competent in html but a novice in php. Is this something I can accomplish with almost no working knowledge of php?

Jeff

Re: php to php in html

Posted: Sun Mar 21, 2010 4:56 pm
by requinix
If you only want to use PHP for the random images, sure you can do it. Stuff beyond that... not so sure.

1. Rename bundles.html to bundles.php.
2. Your random image thing isn't all that great. You already have an array: shuffle it and use the first five items.