Search found 6 matches

by jacka18l
Wed Mar 31, 2004 11:36 am
Forum: PHP - Code
Topic: help me please with randomization
Replies: 18
Views: 939

yes like that, but now i cant get it to work :( <? $images = array('http://www.com/image1.jpg','http://www.com/image2.jpg','http://www.com/image3.jpg') $link = array_rand($image_array); ?> is that right? i keep getting this error "Parse error: parse error, unexpected T_VARIABLE in C:\Program Fi...
by jacka18l
Tue Mar 30, 2004 10:32 am
Forum: PHP - Code
Topic: help me please with randomization
Replies: 18
Views: 939

*was sleeping* lol yeah i mean like (excuse the crappy code which is not actually a code at all) " array of images http://www.com/image1.jpg http://www.com/image2.jpg http://www.com/image3.jpg http://www.com/image4.jpg http://www.com/image5.jpg get random file and display here " not code a...
by jacka18l
Mon Mar 29, 2004 11:41 am
Forum: PHP - Code
Topic: help me please with randomization
Replies: 18
Views: 939

help me please with randomization

i need a script to randomize which picture appears.

the script will NOT grab the images form a folder but it will get them from a link.
thanks
by jacka18l
Sun Mar 21, 2004 3:43 pm
Forum: PHP - Code
Topic: simple php if question
Replies: 6
Views: 821

thanks for all your help
by jacka18l
Sun Mar 21, 2004 1:46 pm
Forum: PHP - Code
Topic: simple php if question
Replies: 6
Views: 821

i am such a stupid php noob. can someone please write this for me please?
by jacka18l
Sun Mar 21, 2004 1:12 pm
Forum: PHP - Code
Topic: simple php if question
Replies: 6
Views: 821

simple php if question

<? $data=$_POST[data]; //then from here i want like it so that it checks and if you post from //and if data is over 5 characters long then it will take you to yes.html //and if it is 5 or less characters then take you to no.html ?> <? echo ""; ?> that is from a post form. please help me a....