Loading ...
Sorry, an error occurred while loading the content.

Re: [php_greek] ÁðïôåëÝóìáôá query óå drop-down menu.

Expand Messages
  • Str Mobile
    Αντε να τα βάλουμε όλα μαζί και να βοηθήσουμε τον άνθρωπο: ...code ή html ...
    Message 1 of 6 , Oct 7, 2001
    • 0 Attachment
      ���� �� �� ������� ��� ���� ��� �� ���������� ���
      �������:

      ...code � html ...
      <?php
      $result=mysql_query("SELECT nameid,name,surname FROM
      people ORDER BY nameid");
      if ($result)
      {
      ?>
      <form name="peopleform" method="post"
      action="targetscript.php">
      <select name="names">
      <option value="error">��������</select>
      <?php
      while ($namerows = mysql_fetch_rows($result))
      {
      print "<option value=\"$namerows[0]\">$namerows[1]
      $namerows[2]</option>\r\n";
      }
      ?>
      </select>
      <form>
      <?php
      } else {
      print "Error message";
      }
      ?>
      ... ��������� ������� ...

      ���������� ���� php4 ��� ���������� �� ������ ���
      ������� ��� ���������� ��� ��� ���� ���������, ������
      �������������� ��� ��� �������� ������� ��� database
      ��� ������ ��������� �� ������ ������� ���� ��� ���
      ��� ����.

      �������� ���� Gonik ��� ��� ������ ��� ������, �������
      $result = mysql_query("SELECT name FROM people ORDER
      BY name", $db");
      ��� �� ����� �����
      $result = mysql_query("SELECT name FROM people ORDER
      BY name", "$db");
      ("$db" ���� ��� $db")

      ��� �� if statement ����� ��� ������ ��� ���� ������
      ��� ��� ������ ������������ ��� ��� database.
      ���������� �� error message ���� ���.

      ����� ��� �������� �� ���� ����� ������ <option> ��
      value="error" ���� �� �� ����� ����� ����������� ��
      �������� (�� �� �������� �����), ���� ����� ����
      ������ �� ������ �� ����� (�� javascript �/��� PHP)

      ������ �� �������
      ����.

      __________________________________________________
      Do You Yahoo!?
      NEW from Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
      http://geocities.yahoo.com/ps/info1
    • php_developer
      ... From: Thomas N. Stefanidis To: Sent: Tuesday, October 09, 2001 10:53 PM Subject: Re: [php_greek]
      Message 2 of 6 , Oct 10, 2001
      • 0 Attachment
        ----- Original Message -----
        From: Thomas N. Stefanidis <thomas@...>
        To: <php_greek@yahoogroups.com>
        Sent: Tuesday, October 09, 2001 10:53 PM
        Subject: Re: [php_greek] Αποτελέσματα query σε drop-down menu.


        > *This message was transferred with a trial version of CommuniGate(tm) Pro*
        > > ΥΓ. Αλήθεια... μια ερώτηση. Απευθύνομαι προς όλους τους φίλους
        > > τoυ newsletter. Πόσο χρονών είστε? απλά για να "γνωριστούμε"...
        >
        > 22-23
        > ;-)
        >
        > Θωμάς
        >


        geia xara Rapid-eraser edw apo to tei xalkidas aftomatistis sta 19 php freak
        :P
        Philip
      • Nicolas
        Egw eimai 22+ kai den exw idea apo php, kai ola auta ofeilontai ston Dimitri pou den kathise na mou deiksei otan tou zitisa :P Nicolas
        Message 3 of 6 , Oct 10, 2001
        • 0 Attachment
          Egw eimai 22+ kai den exw idea apo php, kai ola auta ofeilontai ston Dimitri pou den kathise na mou deiksei
          otan tou zitisa :P

          Nicolas
          *********************************************************
          -Aristotelio University of Thessaloniki
          -Faculty of Law, Economics and Political Sciences
          -Department of Business Administration
          ICQ : 36200271
          "Only two things are infinite, the universe and human stupidity, and I'm not
          sure about the former." -Albert Einstein
          *********************************************************
        • s m
          Twra pou sou edeiksa? Kalwsorises :)) Dim ... Dimitri pou den kathise na mou deiksei ... not
          Message 4 of 6 , Nov 29, 2001
          • 0 Attachment
            Twra pou sou edeiksa?

            Kalwsorises :))

            Dim


            > ----- Original Message -----
            > From: Nicolas
            > To: php_greek@yahoogroups.com
            > Sent: Wednesday, October 10, 2001 10:17 PM
            > Subject: [php_greek] ilikies
            >
            >
            > Egw eimai 22+ kai den exw idea apo php, kai ola auta ofeilontai ston
            Dimitri pou den kathise na mou deiksei
            > otan tou zitisa :P
            >
            > Nicolas
            > *********************************************************
            > -Aristotelio University of Thessaloniki
            > -Faculty of Law, Economics and Political Sciences
            > -Department of Business Administration
            > ICQ : 36200271
            > "Only two things are infinite, the universe and human stupidity, and I'm
            not
            > sure about the former." -Albert Einstein
            > *********************************************************
          • Nicolas
            kalos eisai re dimitri, apantas emails me 1 mina kai 20 meres kathisterisi LOL Nick ... From: s m To:
            Message 5 of 6 , Nov 29, 2001
            • 0 Attachment
              kalos eisai re dimitri, apantas emails me 1 mina kai 20 meres kathisterisi
              LOL

              Nick
              ----- Original Message -----
              From: "s m" <subbie@...>
              To: <php_greek@yahoogroups.com>
              Sent: Friday, November 30, 2001 6:49 AM
              Subject: Re: [php_greek] ilikies


              >
              > Twra pou sou edeiksa?
              >
              > Kalwsorises :))
              >
              > Dim
              >
              >
              > > ----- Original Message -----
              > > From: Nicolas
              > > To: php_greek@yahoogroups.com
              > > Sent: Wednesday, October 10, 2001 10:17 PM
              > > Subject: [php_greek] ilikies
              > >
              > >
              > > Egw eimai 22+ kai den exw idea apo php, kai ola auta ofeilontai ston
              > Dimitri pou den kathise na mou deiksei
              > > otan tou zitisa :P
              > >
              > > Nicolas
              > > *********************************************************
              > > -Aristotelio University of Thessaloniki
              > > -Faculty of Law, Economics and Political Sciences
              > > -Department of Business Administration
              > > ICQ : 36200271
              > > "Only two things are infinite, the universe and human stupidity, and I'm
              > not
              > > sure about the former." -Albert Einstein
              > > *********************************************************
              >
              >
              >
              > -
              > Για να διαγραφείτε από τη λίστα, στείλτε ένα email στο:
              > To unsubscribe from this group, send an email to:
              >
              > php_greek-unsubscribe@yahoogroups.com
              >
              >
              >
              > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
              >
              >
              >
              >
            Your message has been successfully submitted and would be delivered to recipients shortly.