You are here: Re: Connect to mysql and show data in a table. « All PHP « IT news, forums, messages
Re: Connect to mysql and show data in a table.

Posted by Luigi Donatello Asero on 07/11/05 03:09

"J.O. Aho" <user@example.net> skrev i meddelandet
news:3jaf1dFp88rfU1@individual.net...
> Luigi Donatello Asero wrote:
>
> > There are different methods. That΄s why I am wondering why it did not
show
> > any data within the body, anyway.
>
> Your code did only query the data, without fetching it and then display
it,
> thats why there was nothing shown.
>
>
> //Aho


Thank you.
Now it works at https://www.scaiecat-spa-gigi.com/sv/test8.php
I can show two lines which I created and I could insert the table in the
body. Moreover I used <?php include "menu.html"; ?> for the menu
and another for the <?php include "test.php"; ?> for the connection to the
database
This way I would only need add holiday lodings in the table of the database
and insert the little text
<?php include "test.php"; ?> into the pages which are supposed to show
the tables.
But I did not show the headers of the table. Should I write them in html
code or should I import them from the database?
Besides I wonder how I could let the user select which region he would like
to display on the website.
Should I use "select" within a form?

--
Luigi Donatello (un italiano che vive in Svezia)
https://www.scaiecat-spa-gigi.com/fi/tervetuloa.html

 

Navigation:

[Reply to this message]


УдалСнная Ρ€Π°Π±ΠΎΡ‚Π° для программистов  •  Как Π·Π°Ρ€Π°Π±ΠΎΡ‚Π°Ρ‚ΡŒ Π½Π° Google AdSense  •  England, UK  •  ΡΡ‚Π°Ρ‚ΡŒΠΈ Π½Π° английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация