Jump to content

[SOLVED] preg_match help


shadiadiph

Recommended Posts

how could I preg_match something like this and get just the name and value to make a url all i need is the name value and the = valuevalue  minus the " " the name=" " and value=" "??

 

<input type="hidden" name="_sns_width_" value="">
<input type="hidden" name="_sns_height_" value="">
<input type="hidden" name="_sns_bg_color_" value="">
<input type="hidden" name="offerId" value="">
<input type="hidden" name="seamless" value="y">
<input type="hidden" name="regPromoCode" value="">
<input type="hidden" name="idType" value="SN">
<input type="hidden" name="usrd" value="145416">
<input type="hidden" name="doSSL" value="">
<input type="hidden" name="redirType" value="">

Link to comment
https://forums.phpfreaks.com/topic/155691-solved-preg_match-help/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.