Re: PHP Parsing Database Text
| From: | Alan McFarlane | Date: | Fri, 11 Jan 2002 00:22:05 +0000 |
| Subject: | Re: PHP Parsing Database Text | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-80130@lists.php.net to get a copy of this message | ||
Look at (for example) the mySQL database suport for PHP. That will give you
the basics for reading (and writing) database records.
As for parsing this text, that's going to be up to you - I suppose ideally
store the text in a 'structured' format:
part1~part2~part3 etc
then you can just use:
$result = explode("~", $data);
Ken <mailinglists@creason.com> wrote in message
news:5.0.2.1.0.20020110155939.01adbd10@mail.fcs.net...
> Is it possible to have PHP parse text queried from
> a database (security issues notwithstanding)?
> If so, how?
> _Ken
>
>