Re: Simple MySQL/PHP Query
| From: | Craig | Date: | Thu, 20 May 2004 16:05:12 +0000 |
| Subject: | Re: Simple MySQL/PHP Query | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-186593@lists.php.net to get a copy of this message | ||
Is the text the same on every page?
Where you print your body, concatenate the string you want to your content
variable.
HTH
"Nick Wilson" <nick@stylesheet.org> wrote in message
news:20040520160406.GA11899@stylesheet.org...
> Hi all,
>
> First off, yeah, it's a dumb Q ;-) but I cant remember enuf about mysql
> to know if I need a php script or it might be done from the command
> line...
>
> I have a DB that has a field called 'body' -> it holds the body of html
> pages of course... What I need to do, is add to the very end of each
> html page, one short peice of text.. not a footer, just an adition to
> every page.
>
> How do I do that? - Do I need to select the body, then add the text to
> it, then UPDATE it, or can i just appened somthing to what's already
> there?
>
> Many thx!
> --
> Nick W