Marvellous code - but where are the breatss ;-)

Dave


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jim
Burns
Sent: Thursday, October 25, 2001 2:19 AM
To: [EMAIL PROTECTED]
Subject: Re: [sambar] what are php pages ?


HAHAHAHAHAHAHA (ROFLMAO) On 24/Oct/2001 21:18:38, jopel had this to say: >
Here is an example: > > function see(){ > global $first,$num,$quoi; >
$hostname = "host"; > $username = "root"; > $password = "password"; >
$dbName = "database"; > $table = "table"; >
MYSQL_CONNECT($hostname,$username,$password) OR DIE("Unable to connect to >
database"); > @mysql_select_db("$dbName") or die("Unable to select
database"); > $z=array("sma","smapuff","puff","bpuff","lnip"); > $x=1; >
for( $i = 0; $i < $num; $i++ ) { > if($z[$i] == "sma"){$text="Small
Breasts";$image=" src=/puffies/jenny/tn_jenny07_jpg.jpg alt=\"\">";} >
if($z[$i] == "smapuff"){$text="Small Breasts With Puffies";$image="
src=/puffies/deb99/tn_eg-debth02_jpg.jpg alt=\"\">";} > if($z[$i] ==
"puff"){$text="Medium Breasts With Puffies";$image="
src=/puffies/1puff/tn_aa-21539_jpg.jpg alt=\"\">";} > if($z[$i] ==
"bpuff"){$text="Bigger Breasts With Puffies";$image="
src=/puffies/alicyn5/tn_0904h023_jpg.jpg alt=\"\">";} > if($z[$i] ==
"lnip"){$text="Breasts With Long or Hard Nipples";$image="
src=/puffies/2002/tn_1_jpg.jpg alt=\"\">";} > if($first == "oui"){$z[$i] =
$first;$text="New Stuff";$image=" src=/puffies/2001ocln/tn_p11_jpg.jpg
alt=\"\">";} > > echo "

$text

\n"; > $query = "SELECT * FROM $table WHERE nouveau='$first' AND
$quoi='$z[$i]' > ORDER BY titre"; > $result = MYSQL_QUERY($query); > echo "
\n"; > echo "$image"; > echo "
\n"; > while ($r = mysql_fetch_array($result)) { > $titre = $r["titre"]; >
$dossier = $r["dossier"]; > $detail = $r["slide"]; > $path =
"/puffies/".$dossier."/index.html"; > if($x==1){echo "";} > else{echo "";} >
echo "$titre"; > if($detail=="non"){echo "*";} > $x++; > if($x==4){echo "
\n";$x=1;} > else{echo"\n";} > } > if($x<4){echo "\n";$x=1;} > echo "
\n"; > echo "




\n"; > } > mysql_close(); > } > ?> > > > > > > > > ALINK="red"> > >
Member Area
> $first = "oui"; > $quoi = "nouveau"; > $num = "1"; > see(); > $first =
"non"; > $quoi = "type"; > $num = "5"; > see(); > ?> > > >


�JoPel 1995-2001. All rights > reserved.
> > > > > Jopel > (Christine) > ----- Original Message ----- > From:
"Global411" > To: > Sent: Wednesday, October 24, 2001 9:07 PM > Subject:
[sambar] what are php pages ? > > > > what are php pages ? how are they used
and how do you create them ? > > > > > > Erick > > > > > > > > > > > > > > >
> --------------------------------------------------------------------------
> ------ > > For unsubscription of this list send an email to
[EMAIL PROTECTED] with > email > > data containing unsubscribe emailadd
sambar >
> --------------------------------------------------------------------------
------ > For unsubscription of this list send an email to
[EMAIL PROTECTED] with email > data containing unsubscribe emailadd sambar
>
> --------------------------------------------------------------------------
------ For unsubscription of this list send an email to [EMAIL PROTECTED]
with email data containing unsubscribe emailadd sambar



--------------------------------------------------------------------------------
For unsubscription of this list send an email to [EMAIL PROTECTED] with email
data containing unsubscribe emailadd sambar

Reply via email to