Thanks Papi,
That works fine.
Matt
[EMAIL PROTECTED]
< www.mralston.co.uk />
Pavel Jartsev <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Matthew Ralston wrote:
> >
> > I've got a date stored in a MySQL database i
I've got a date stored in a MySQL database in a "DATE" field, so it is
stored as "2001-05-21". How do I convert that into a more friendly date like
"21 May 2001" or even "21st May 2001" for display on a web page?
I've tried
print date("jS F Y", $dbtable[date]);
but I always get "1st January 197
How do you include or require a file that is above the current script in the
directory hierarchy? For example how would I include or require a file whose
path is "../file.inc" relative to the current script? I tried all of:
include("../file.inc");
require("../file.inc");
include("/file.inc");
req
you might have to restart your webserver/php
if it's apache you might need to recompile it or something...i've not
compiled php into apache before...am using it as a cgi...so i'm not sure
--
Thanks,
Matt
[EMAIL PROTECTED]
< www.mralston.co.uk />
Hassan Arteaga <[EMAIL PROTECTED]> wrote in messa
from what i recall there is a line (to enable ms sql server support) in the
php.ini file already that just needs uncommenting. have a look right through
the file...there's one for sql server 6.5 and one for 7.
--
Thanks,
Matt
[EMAIL PROTECTED]
< www.mralston.co.uk />
Hassan Arteaga <[EMAIL PROT
Think you might need to enable the ms sql server module in the php.ini file.
--
Thanks,
Matt
[EMAIL PROTECTED]
< www.mralston.co.uk />
Hassan Arteaga <[EMAIL PROTECTED]> wrote in message
7F548E90E63BD1118E4600609707771F8BEFF9@goliath">news:7F548E90E63BD1118E4600609707771F8BEFF9@goliath...
Hi al
Is there a nice easy function that could be used to get a sub string that
lies in between two other sub strings in one big string.
For example... get the text that lies in between "" and ""
(without the quotes) in the code of a web page.
I'm after a function like:
string getstring_between_custo
I'll be loading the contents of an HTML page into a variable and I need to
get the title of the from that variable.
Basically I need to ge the text from in between the tags.
Any ideas?
Thanks,
Matt
[EMAIL PROTECTED]
< www.mralston.co.uk />
--
PHP General Mailing List (http://www.php.net/)
8 matches
Mail list logo