Re: [PHP] SELECT + PARSE ERROR

2002-04-08 Thread Jérome Moisy
Thanks at All   -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] SELECT + PARSE ERROR

2002-04-08 Thread Jérome Moisy
Hy,   I try to do a SELECT but when I test my code I Have a parse error. If someone can explain to me why.   Code:   $db = mysql_connect(newsmanga_db);$req = "SELECT * FROM dvds WHERE nomdvd='".$nom."".$i"' ";  /// PARSE ERROR IN THIS LINE$res=mysql_query($req, $db);while ($ligne = mysql_fetc

[PHP] MODULO + OK

2002-03-21 Thread Jérome Moisy
Oups, I find my mistak.   Thank you -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Modulo

2002-03-21 Thread Jérome Moisy
Hy,   I would like to know if I do a mistak : $i % 3 == ?   If $i is a multiple of 3 the result is 0, yes or no ?   If yes so what is wrong in this script   For ($i = $val; $i < ($val+9); $i++) {   For ($j = 1; $j < 10; $j++) {     If ($serie == Blue) {   If($i <= 18) {     If ($j

[PHP] Parse Error

2002-03-14 Thread Jérome Moisy
Hy, When I try to see my page I have this message and I don't know why. If someone can explain to me. Thank You     Parse error: parse error, expecting `')'' in liensfr.php on line 17   Source code : Liens   $db = mysql_connect(database);$sql= "SELECT * FROM liens";$res = mysql_query($sql, $d

[PHP] Link probleme

2002-03-11 Thread Jérome Moisy
Hy, In the page seriefr.php there is the code in a SWITCH loop.The problem is that when we use the link nothings happen. The value of the variable val don't change. if someone know why can you explain it to me ? Thanks   The page seriefr.php join. -- PHP General Mailing List (http://www.ph

[PHP] Probleme de lien hypertexte

2002-03-11 Thread Jérome Moisy
Bonjour, Dans une page qui se nomme seriefr.php je place le code suivant à l'intérieur d'une boucle SWITCH.Le problème est que quand on clique sur le lien hypertexte la page est reloadée mais sans modification. La nouvelle valeur de la variable val n'est pas prise en compte. Si quelqu'un a un

[PHP] FATAL ERROR

2002-02-11 Thread Jérome Moisy
Hy, I have install this weekend PHP 4.10 and Microsoft SQL Server Developper on Windows XP professionnal. I use IIS for the web server. When I test the Web Site I have this message: FATAL_ERROR unientify command mssql_connect();   Anyone know what does it means.   Thanks -- PHP General Mai