RE: [PHP] Pulling information out of a MySQL database

2001-11-26 Thread Jon Haworth
information out of a MySQL database I did have one last aesthetic question ... I have one field set as TEXT which holds descriptions of the events. When the information was entered into this field, in many cases, spaces between lines were entered ... however, when I pull the info from the database

Re: [PHP] Pulling information out of a MySQL database

2001-11-26 Thread Douglas McKenzie
Im new to php but I would suggest using a tag to wrap round your text output. This should keep any formatting. I think. Tim Thorburn wrote: > Thanks to everyone for their help - especially Martin, that fixed my > problem and now all the records (both basic and extended) display properly

RE: [PHP] Pulling information out of a MySQL database

2001-11-25 Thread Tim Thorburn
Thanks to everyone for their help - especially Martin, that fixed my problem and now all the records (both basic and extended) display properly. I did have one last aesthetic question ... I have one field set as TEXT which holds descriptions of the events. When the information was entered int

RE: [PHP] Pulling information out of a MySQL database

2001-11-25 Thread Martin Towell
WHERE id=$id",$db); in other words: remove the "month" and "year" from the where clause Martin -----Original Message- From: Tim Thorburn [mailto:[EMAIL PROTECTED]] Sent: Monday, November 26, 2001 3:58 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Pulling information out o

Re: [PHP] Pulling information out of a MySQL database

2001-11-25 Thread Tim Thorburn
Hi again, Ok, I've heard some suggestions to my problem ... but I'm not entirely certain how to incorporate them, perhaps taking a look at the code would be helpful. Again, the problem I'm having is as follows. I have a simple form in which the user selects a month and year from two drop dow

Re: [PHP] Pulling information out of a MySQL database

2001-11-25 Thread David Robley
On Mon, 26 Nov 2001 13:17, Tim Thorburn wrote: > Hi, > I'm having some new troubles pulling information out of a MySQL > database. The page I'm currently working on has a simple form, that > asks the user to select a month and year from two dropdown menu's then > forwards their choices on to a new

Re: [PHP] Pulling information out of a MySQL database

2001-11-25 Thread Duncan Hill
On Sun, 25 Nov 2001, Tim Thorburn wrote: > the proper information? My immediate thought is a cookie, but I have no > idea how to do this ... can anyone offer any other suggestions, or if a > cookie is the way to go - can someone point me in the right direction? Hidden form variable, assign the