Re: [php-list] Re: need help with mysql and php

2006-03-25 Thread neeraj thakur
Hi Mark, if you please copy and paste the problem ld be able to analyse the problem easily, Neeraj Thakur Web Developer ee <[EMAIL PROTECTED]> wrote: hi all I have a slight trouble when trying to display text fromt he database with php. I want to be able to display pre-formatte

Re: [php-list] Re: need help with mysql and php

2006-03-25 Thread Mark Mckee
hi all I have a slight trouble when trying to display text fromt he database with php. I want to be able to display pre-formatted html for displaying code etc. The trouble I am having is that it also displays the tag from the nl2br string. I have searched google and the forums, also I have t

Re: [php-list] Re: need help with mysql and php

2006-03-22 Thread Michael Sullivan
On Thu, 2006-03-23 at 02:06 +, Mark Mckee wrote: > > > > > As for your forty tables that can possibly be selected, might I > > suggest a switch statement? > > > > > > > > how wouldl i go about creating a switch statement? i have looked at a > few tutorials but am finding it difficult to

Re: [php-list] Re: need help with mysql and php

2006-03-22 Thread Mark Mckee
> > As for your forty tables that can possibly be selected, might I > suggest a switch statement? > > > how wouldl i go about creating a switch statement? i have looked at a few tutorials but am finding it difficult to convert the script for my uses. Community email addresses: Post messa

[php-list] Re: need help with mysql and php

2006-03-22 Thread Michael Sullivan
--- In php-list@yahoogroups.com, Mark Mckee <[EMAIL PROTECTED]> wrote: > > hi > > thanks for the info. before i recieved your email i managed o cobble > somethign together from some tutorials. this is the code i am using > > > $host="localhost"; > $username="gecko_gecko"; > $password="3t7b8011