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.

[résolu]pb avc ma base de donnée

Featured Replies

Posté(e)

Voila a chaque fois que je veux aller recupérer une valeur ça me balance ça en plein dans ma tete. Je sais meme pas ce que c'est cette erreur. Si quelqu'un l'a deja rencontré, help me please.

Modifié par roscow

Posté(e)
  • Auteur

je viens de tester ma requete sous phpmyadmin et elle est bonne. j'ai aussi fait ce qu'on m'a dejà conseillé

$REQ = mysql_query("SELECT xxxx from xxxx") or die ("erreur req ".mysql_error()); et rien n'a changé.

voici mon code:

$j=$_POST['jour'];

$m=$_POST['mois'];

$a=$_POST['année'];

$db=mysql_connect("localhost","root","");

mysql_select_db("lycée raymond cortat",$db);

$req1=mysql_query("select menu from test where date=$a-$m-$j")

mysql_close();

print ("$req1");

Posté(e)

Ceci me parait bizarre:

select menu from test where date=$a-$m-$j

Tu ne devrais pas mettre un ToDate($a-$m-$j) ???

De plus, pourquoi affiches tu ta requete ???

print ("$req1");

Ca ne t'affichera pas le résultalt ca hein ...

Posté(e)
  • Auteur

date c'est le nom de mon champ, todate: connais pas moi.

Et comment je dois m'y prendre pour afficher le resultat alors?

svp.

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.