I want to get the date 1 month from now. So if today is 11/11/2002, I want to get 11/12/2002. If today is 30/01/2003 I want to get (I suppose) 02/03/2003...something like that.
In VBScript there is DateAdd(). Is there something similar in PHP?
I want to fetch a URL in PHP with fopen or popen or something.
Getting the main content of the page is fine, but I want to access the headers that the server sends back with the page. I'm sure it can be done with popen (or some command to open a tcp/ip connection to port 80?)
It wanted a GROUP BY clause, so I put one in. Then it would run, but returns zero records. I tried using an outer join but still no luck. This is what I've got at the moment...
SELECT
p.product_id,
p.title,
p.description,
p.image,
p.price,
p.start_date...
Originally it was Rasmus Lerforf's "Personal Home Page Tools version 1.0" but it's advanced so much since then that that title no longer (erm...what's a good word?) fully encapsulates everything that PHP does...so nowadays it's just PHP. :)
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 <title> tags.
Any ideas?
Thanks,
Matt
matthew.ralston@haltoncollege.ac.uk
< www.mralston.co.uk />
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.