You are here: preg_match help « PHP Programming Language « IT news, forums, messages
preg_match help

Posted by Lisa on 04/25/06 01:37

Need help with code?
Needing Bracelet Size, Anklet Size, Necklace Size (3 Options out of 12
on a Product Page)
To look as following Ex: Bracelet Size: Guidelines
Guidelines will be a popup explaining How to measure your wrist size,
etc on the next 2.

www.gomagnetic.com , click Magnetic hematie, any bracelet.

Looks good but, when I click on Guidelines, the popup does not apper in
the window and the page refreshes back to home.

This existing link works great on the Zen cart site.
<a href="javascript:popupWindow(\'' .
zen_href_link(FILENAME_POPUP_TERMS_COND) . '\')">' . '<u>here</u>' .
'</a>.</span>');

What am I doing wrong???

}

if (preg_match("/bracelet/i", $options_name[$i]))
{
$guideLink = "<a href=\"#\" onclick=\"window.open('guideline.html',
'_blank', 'left=5, top=10,
toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,widt­h=300,height=200')\">Guidelines</a>";

}
else
$guideLink = null;

?>
<tr>
<td class="main" align="left" valign="top"><?php echo
$options_name[$i] . ' : ' . $guideLink; ?></td>

 

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

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