Re: banner rotator
| From: | Adagilson Batista Bispo da Silva | Date: | Wed, 07 May 2003 15:01:09 +0000 |
| Subject: | Re: banner rotator | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-146679@lists.php.net to get a copy of this message | ||
Ok, thansk Jason, Mat, Tom and Ernest, for replying.
Now there's an error in this line:
case 1 : $img="ad-panashop.gif" $url="http://www.panashop.com.br/files/pags/ShoWDetail.asp?Coditprod=11277&CodProd=9869&Precode=699&Precopor=699&titulo=DVD%20FOTO-CD%20E%20KARAOKE%20PHILIPS%20DVD616&CodDf=DVD616&setor=14&cv=14";
break;
The server:
Parse error: parse error, unexpected T_VARIABLE in C:\Arquivos de
programas\Apache Group\Apache2\htdocs\testads.html on line 38
Thanks again
a.
Jason k Larson escreveu:
With the rand() like properly ending with a ';' it also looks like you meant to increment your case values as well, you example shows all are 1. case 1: case 2: case 3: case 4: -- Jason k Larson