RE: [PHP-WIN] Re: include_path and relative vs. absolute paths

2004-08-20 Thread Wolfgang Schneider
On Tue, 17 Aug 2004 10:42:50 -0400, Gryffyn, Trevor wrote: Hi Trevor. a short note ... >Maybe not the most elegant, but I like to keep my stuff kind of modular >so what I've done is just create an "includes" folder in the root and >them reference it as include("../includes/includename.inc") from

RE: [PHP-WIN] PHP and HTML

2004-08-20 Thread Gryffyn, Trevor
I got it the first time, so guess it went through. I don't remember if it needs to be this strict or not, but I'd do it this way: Echo "$Name"; Doensn't look like you're ECHOing or otherwise outputting the OPTION tag and I usually include a "value=" with my options. No need to use the "." to co

[PHP-WIN] PHP and HTML

2004-08-20 Thread Chuck
Sorry if this was posted twice. I don't think the first one went thru. Hello everyone. I have the following script that creates a listbox. My box appears, but I can't get any data into it. Can someone let me know what I'm doing wrong. Open($dsn); $rs = $db->Execute("SELECT * fr

[PHP-WIN] PHP5.01 and HTML

2004-08-20 Thread Chuck
Hello everyone. I have the following script that creates a listbox. My box appears, but I can't get any data into it. Can someone let me know what I'm doing wrong. Open($dsn); $rs = $db->Execute("SELECT * from company"); while (!$rs->EOF) { $Name = $rs->Fields