You are here: Re: match regular expressions in a webpage, not the entire source « PHP Programming Language « IT news, forums, messages
Re: match regular expressions in a webpage, not the entire source

Posted by charliefortune on 09/26/87 11:37

If I understand correctly, this won't tell me the result of executed
scripts on the page, such as this ;

if (index != -1) {
if (productPrice[index] == 'SOLD OUT') {
alert("This Product cannot be purchased at this time.");
result=false;
}

This code is present in all the products, whether in stock or out, and
I need it to run to decide whether or not the words 'SOLD OUT' are
going to appear. I am wondering if eval() might provide the answer ? I
am experimenting with it, with little success so far..

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация