Re: Ingredients field problem

From: Date: Mon, 18 Sep 2000 23:58:39 +0000
Subject: Re: Ingredients field problem
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-2957@lists.php.net to get a copy of this message
As far as I could understand you are looking for a way of not use any character to separate the ingredient items. If I am right you can make it the way bellow: It's a little hard work but you can use DHTML to produce a dynamic list of ingredients, adding a form line every time people clicks on the "add Ingredient" button. This way you can have a one to many relationship between Recipe and Ingredient and get rid of all that stuff. There are other solutions using forms and reloading the page too, but the performance slows down . I hope this helps Jayme. http://www.conex.com.br/jjeffman -----Mensagem Original----- De: <phplist@james-central.com> Para: <php-db@lists.php.net> Enviada em: domingo, 17 de setembro de 2000 15:17 Assunto: [PHP-DB] Ingredients field problem > I have a recipe PHP script with a lot of fuctions in one file! I was just > wondering. I have a Ingredients field, which people will be adding recipes. > But in this field, I can't just have people doing \' or \", or <P> or <br>, Is > there a way to get rid of that stuff? I'm using MySQL, so if you have an > answer please tell me. > > Thank You, > > James > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net > For additional commands, e-mail: php-db-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.db (#2957) next »