Here is an example:

<?php
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="<img
src=/puffies/jenny/tn_jenny07_jpg.jpg alt=\"\">";}
if($z[$i] == "smapuff"){$text="Small Breasts With Puffies";$image="<img
src=/puffies/deb99/tn_eg-debth02_jpg.jpg alt=\"\">";}
if($z[$i] == "puff"){$text="Medium Breasts With Puffies";$image="<img
src=/puffies/1puff/tn_aa-21539_jpg.jpg alt=\"\">";}
if($z[$i] == "bpuff"){$text="Bigger Breasts With Puffies";$image="<img
src=/puffies/alicyn5/tn_0904h023_jpg.jpg alt=\"\">";}
if($z[$i] == "lnip"){$text="Breasts With Long or Hard Nipples";$image="<img
src=/puffies/2002/tn_1_jpg.jpg alt=\"\">";}
if($first == "oui"){$z[$i] = $first;$text="New Stuff";$image="<img
src=/puffies/2001ocln/tn_p11_jpg.jpg alt=\"\">";}

echo "<BR><BR><FONT SIZE=\"+1\">$text</FONT><BR><BR>\n";
$query =  "SELECT * FROM $table WHERE nouveau='$first' AND $quoi='$z[$i]'
ORDER BY titre";
$result = MYSQL_QUERY($query);
echo  "<CENTER><table cellspacing=1 cellpadding=2 width=650>\n";
echo "<TR><TD VALIGN=\"TOP\" width=150>$image</TD><TD>";
echo  "<CENTER><table cellspacing=1 cellpadding=2 width=500>\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 "<TR><TD>";}
  else{echo "<TD>";}
  echo "<A HREF=$path>$titre</A>";
  if($detail=="non"){echo "<FONT COLOR=\"#FF0000\">*</FONT>";}
  $x++;
  if($x==4){echo "</TD></TR>\n";$x=1;}
  else{echo"</TD>\n";}
}
if($x<4){echo "</TD></TR>\n";$x=1;}
echo  "</table></CENTER>\n";
echo  "</TD></TR></table></CENTER><BR><BR><BR>\n";
}
mysql_close();
}
?>


<html>
<head>
<title>The Puffies(Member Area)</title>
<SCRIPT LANGUAGE="JavaScript">
function clickOn() {
mywin = window.open("/puffies/?action=help", "helper",
'toolbar=0,location=0,directories=0,menubar=0,resizable=1,scrollbars=1,width
=650,height=425');
}
function clickOn2() {
mywin = window.open("/puffies/contactm.html", "helper",
'toolbar=0,location=0,directories=0,menubar=0,resizable=1,scrollbars=1,width
=650,height=425');

}
</SCRIPT>
</head>
<BODY BGCOLOR="#9CB5D6" TEXT="#152233" LINK="green" VLINK="#3F6598"
ALINK="red">
<LINK REL="STYLESHEET" HREF="/css/sav.css" TYPE="text/css">
<CENTER><H2><FONT COLOR="#008000"><U>Member Area</U></FONT></H2></CENTER>
<?
$first = "oui";
$quoi = "nouveau";
$num = "1";
see();
$first = "non";
$quoi = "type";
$num = "5";
see();
?>
<?see();?>

<BR><BR><CENTER><FONT SIZE="-1">&copy;JoPel 1995-2001. All rights
reserved.</FONT></CENTER>
</BODY>
</HTML>


Jopel
(Christine)
----- Original Message -----
From: "Global411" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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

Reply via email to