[PHP] Variable problem with a function calling a ext. librairy

2002-02-21 Thread Marc Andre Paquin
Hello, I created a librairy with configuration setting: background color, font size, customer's name, etc. Like this: (lib_config.inc) $bgcolor = "#ff"; $co = "ABC enterprise"; A second file is building html page headders: (lib_intra.inc) function title($name_section,$name_page){ print "\

[PHP] Displaying a 2 column html table with N elements

2002-03-24 Thread Marc Andre Paquin
Hello, I am trying to display a HTML table of 2 cells with "n" elements... This means an unknown number of lines. I need to use 2 FOR loops (one to determine the number of and one to create the 2 cells needed). This is a bit to overwellming for me... I have: $result = connect_db("select pr