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!!!
>
> <? include("connect.php3") ?>
> <?
> $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 "<a
> 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</a>
> }
> ?>
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> 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 <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to