Re: [PHP-DEV] NEWBIE QUESTION

2001-02-01 Thread Derick Rethans

Hello,

please note the following things:

1) This is the wrong list for asking user questions. You'd better ask the
php-general mailinglists as this list is for discussing the development of
PHP and not _with_ PHP.

2) Using CAPITALS only in an e-mail is considered shouting and very rude.
Please don't do that.

3) PHP has a fine manual at www.php.net/manual/ and MySQL has a manual at
www.mysql.com/documentation/ I'm sure you can sort it out using these two.

Regards,
Derick

On Thu, 1 Feb 2001, Stinie Steinbach wrote:

> DOES ANYONE KNOW WHAT'S WRONG WITH THIS CODE
> IK WANT TO GENERATE A CODE THAT SELECTS A COUPELE OF PARAMETERS FROM TWO
> TABLES IN A MYSQL DATABASE...
> THE QUERY THAT I USE WORKS CORRECTLY BUT I HAVE A PROBLEM WITH THE LINKS
> I WANT TO GENERATE WITH PHP...
> I NEED TO CREATE AN ARRAY OF LINKS THAT LOOK LIKE THIS...
>
> BLOK 0 | BLOK 1 | BLOK 2 | BLOK 3 | BLOK 4 | BLOK 5 | BLOK 6 | BLOK 7 |
> BLOK 8 | BLOK 9
>
> PLEASE HELP!!!
>
> 
>  $result = mysql_query ("select m.module_id, m.leergang_afkorting,
> m.module_nummer, l.opleiding_afkorting
>from module m, leergang l where m.leergang_afkorting =
> l.leergang_afkorting
>and m.leergang_afkorting = 'EDP16' order by m.module_nummer");
> while (list
> ($module_id,$leergang_afkorting,$module_nummer,$opleiding_afkorting) =
> mysql_fetch_row ($result)) {
>  echo " href=\"http://tias.kub.nl/programs/\"opleiding_afkorting=$opleiding_afkorting\"/
>
>\"leergang_afkorting=$leergang_afkorting\"/
> 
>\"virtuele.klas/programma/blok\"module_nummer=$module_nummer\"/\"leergang_afkorting=$leergang_afkorting\"_blok0\"
>
>module_nummer=$module_nummer.html\">$module_nummer
> }
> ?>
>
>
> --
> PHP Development Mailing List 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>

Derick Rethans

-
  PHP: Scripting the Web - www.php.net - [EMAIL PROTECTED]
-


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] NEWBIE QUESTION

2001-02-01 Thread Joey Smith

1. Take off caps lock. This is bad manners.
2. This mailing list is for people interested in the development of the
PHP language. Please use [EMAIL PROTECTED] That's the mailing
list for PHP users.

On Thu, 1 Feb 2001, Stinie Steinbach wrote the following to [EMAIL PROTECTED]:

> DOES ANYONE KNOW WHAT'S WRONG WITH THIS CODE
> IK WANT TO GENERATE A CODE THAT SELECTS A COUPELE OF PARAMETERS FROM TWO
> TABLES IN A MYSQL DATABASE...
> THE QUERY THAT I USE WORKS CORRECTLY BUT I HAVE A PROBLEM WITH THE LINKS
> I WANT TO GENERATE WITH PHP...
> I NEED TO CREATE AN ARRAY OF LINKS THAT LOOK LIKE THIS...
> 
> BLOK 0 | BLOK 1 | BLOK 2 | BLOK 3 | BLOK 4 | BLOK 5 | BLOK 6 | BLOK 7 |
> BLOK 8 | BLOK 9
> 
> PLEASE HELP!!!
> 
> 
>  $result = mysql_query ("select m.module_id, m.leergang_afkorting,
> m.module_nummer, l.opleiding_afkorting
>from module m, leergang l where m.leergang_afkorting =
> l.leergang_afkorting
>and m.leergang_afkorting = 'EDP16' order by m.module_nummer");
> while (list
> ($module_id,$leergang_afkorting,$module_nummer,$opleiding_afkorting) =
> mysql_fetch_row ($result)) {
>  echo " href=\"http://tias.kub.nl/programs/\"opleiding_afkorting=$opleiding_afkorting\"/
> 
>\"leergang_afkorting=$leergang_afkorting\"/
> 
>\"virtuele.klas/programma/blok\"module_nummer=$module_nummer\"/\"leergang_afkorting=$leergang_afkorting\"_blok0\"
> 
>module_nummer=$module_nummer.html\">$module_nummer
> }
> ?>
> 
> 
> 


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]