hi i am new user i want aske u all?!!
Posted: Thu Sep 26, 2002 7:45 am
hi all
i new user i can not write in E- good
i want aske u some Q-
1-i have netwok in computer 1 install phptraid and using php and made some scripts how i see scripts in anther coputers
i am write ip of computer 1 in computer 2 in explorer i see index doc- of phptraid but i can not see another scripts
2-
how use mail function in localhot i need STMP server where is it for win2000 ?
3-
in use mail fun- how i know the e-mail address is valid or invalid?
4-how sed data to file without using form]
5-in the end and i am sorry for long i have table for cateds i wnt view date 2cated in 1 line see code thanks
i new user i can not write in E- good
i want aske u some Q-
1-i have netwok in computer 1 install phptraid and using php and made some scripts how i see scripts in anther coputers
i am write ip of computer 1 in computer 2 in explorer i see index doc- of phptraid but i can not see another scripts
2-
how use mail function in localhot i need STMP server where is it for win2000 ?
3-
in use mail fun- how i know the e-mail address is valid or invalid?
4-how sed data to file without using form]
5-in the end and i am sorry for long i have table for cateds i wnt view date 2cated in 1 line see code thanks
Code: Select all
<?
include("config.php");
$line=2;
$ll=0;
$Query = "SELECT * FROM cated";
$result = mysql_db_query($dbname, $Query, $ww);
$num=mysql_numrows($result);
for ( $i=0 ; $i <=$num-1 ; $i=$i+1)
{
$op=mysql_result($result,$i,"catname");
$val=mysql_result($result,$i,"cat");
$va2=mysql_result($result,$i,"cat2");
if( $va2==0){
$co=$ll%2;
if($ll==0 )
echo"<TR><font size='5' color='#0000FF'>$op</font></TR>";
else if($co!=0)
echo"<TR><font size='5' color='#0000FF'>$op</font></TR>";
else
echo"<TR><p><font size='5' color='#0000FF'>$op</font></p></TR>";
$ll=$ll+1;
$Query2= "SELECT * FROM cated where cat2=$val";
$result2= mysql_db_query($dbname, $Query2, $ww);
$num2=mysql_numrows($result2);
for ( $i2=0 ; $i2 <=$num2-1 ; $i2=$i2+1)
{
$op3=mysql_result($result2,$i2,"catname");
echo "
<font color='#FF0000' size='3'>$op3*</font>"
;
}
}
}
?>