I need to get the value 20 sep 2010 from <span class="f std" >20 Sep 2010</span> in a web page.
What would be the best way to get this value.
Thanks in advance.
I need to get the value 20 sep 2010 from <span class="f std" >20 Sep 2010</span> in a web page.
What would be the best way to get this value.
Thanks in advance.
are you doing this before or after the page is served?
before: usepreg_match()
after: use javascript to find the value and post it to the server for processing (probably via ajax)
Even better: before the page is generated, access that property directly. (This requires access to the database, etc.)
Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
It's probably irrelevant here, but I'm just suggesting it because though it may seem harder to approach it that way, if there is any way to access the data directly it will actually be a lot easier. Otherwise your suggestion is the way to do it.
Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
Bookmarks