Re: hello the list
| From: | DL Neil | Date: | Sat, 13 Jul 2002 23:02:19 +0000 |
| Subject: | Re: hello the list | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-107594@lists.php.net to get a copy of this message | ||
Welcome Nicolas,
=You didn't actually say what the problem was!
=Some have made suggestions, please also consider (below):
i'm new and i'm trouble with this code :'( can U help me please ??
this is the code :
while ($cd_tbl = mysql_fetch_array ($result))
{
$cd_id = $cd_tbl['cd_id'];
$cd_oeuvre = $cd_tbl['cd_oeuvre'];
$cd_chef = $cd_tbl['cd_chef'];
$cd_compositeur = $cd_tbl['cd_compositeur'];
<-------------------partie concernée--------------------->
//-Debut Seth
//--------------------------
// name : _ALTERNANCE_COULEUR_
// desc : test de 'id' pour l'alternance de couleur
//--------------------------
if(is_int("$cd_id") = TRUE)
=there is no need for the double-quotes in this statement.
=you should be coding equality (==) or even equality and type equivalence
(===)
Regards,
=dn