Aller au contenu
View in the app

A better way to browse. Learn more.

Next

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

probleme PHP/MySQL

Featured Replies

Posté(e)

hello, j'ai un petit problème ...

le voici :

Parse error: parse error, unexpected T_STRING in f:\developpement\portail0.3\connex\whois.php on line 118

et la source litigieuse est:

case 3 : 

$pseud = $_POST['pseudo'];
$mail = $_POST['mail'];
$pass = $_POST['pass'];
$web = $_POST['web'];
$msn = $_POST['msn'];
$icq = $_POST['icq'];
$avatar = $_POST['avatar'];
$signature = $_POST['signature'];
$nais_jour = $_POST['nais_jour'];
$nais_mois = $_POST['nais_moi'];
$nais_an = $_POST['nais_an'];

$db = @mysql_connect("$dbhost", "$dblogi", "$dbpass") OR DIE("<br><br><center><font color=red face=arial size=2><b>Désolé, la Base est Down !</b></font></center>");
@mysql_select_db("$dbbase",$db) OR DIE;


$ok=INSERT INTO `cess` ( `pseudo` , `pass` , `mail` , `site_web` , `msn` , 'icq' , `avatar` , `signature` , `nais_jour` , `nais_moi` , `nais_an` ) 
VALUES ( '$pseud', '$mail', '$pass', '$web' , '$msn' , '$icq' , '$avatar' , '$signature' , '$nais_jour' , '$nais_mois' , '$nais_an' );

if $ok {echo "inscription terminé, veuillez vous identifier";};



break;


cela fait 2 jours que je cherche et rien n'y fait :(

le script sais acceder a la base, il l'a deja fait donc ce n'est pas un problème d'acces a la db

merci.

  • 2 semaines après...
Posté(e)

Alors, je pense que déja, il faut executer ta requete:

$ok=mysql_query("INSERT INTO `cess`....")

Ensuite, je crois qu'à la fin de

if $ok {echo "inscription terminé, veuillez vous identifier";};

tu n'as pas besoin du point virgule

Posté(e)
  • Auteur

non il s'arrête...

puisque ma commande Myysql etait faite par PHP... qui n'y comprenait rien ... :francais:

Archivé

Ce sujet est désormais archivé et ne peut plus recevoir de nouvelles réponses.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.