That's because you're still not escaping the $serializePost value for use in HTML (which contains double quotes). Try htmlspecialchars($serializePost) instead. Firebug can't decipher invalid HTML.
Regards, Bryan Petty On Fri, Feb 10, 2012 at 3:00 PM, Merrill Oveson <[email protected]> wrote: > Uphpers: > > Sometimes I run in situations like this. It drives me crazy! Is > there an easy fix? > > Code: > > $serializePOST = serialize($_POST); > print "<td><a href=\"customer_information.php?id=" . $customerId . > "&postArray=" . $serializePOST . "\">View</a></td>"; > > Now when I look in firebug what I get is scrambled. > > <a > fname";s:0:"";s:5:"email";s:0:"";s:6:"serial";s:0:"";s:7:"sponsor";s:0:"";s:14:"expirationdate";s:0:"";s:5:"lname";s:6:"oveson";s:7:"company";s:0:"";s:11:"licensecode";s:0:"";s:12:"hardwarelock";s:0:"";s:12:"softwarename";s:0:"";}"="" > href="customer_information.php?id=6520&postArray=a:10:{s:5:">View</a> > > Why doesn't the all the serialized info go after the $postArray variable? > Why the scramble? > > And how to fix. _______________________________________________ UPHPU mailing list [email protected] http://uphpu.org/mailman/listinfo/uphpu IRC: #uphpu on irc.freenode.net
