Uphpu: I feel really stupid. I don't why I didn't notice all the " in my serialize variable. I was looking right at them in firebug.
Thanks everyone for your help. urlencode worked great (and I've used it about a million times.) It must be a Friday afternoon! Merrill On Fri, Feb 10, 2012 at 3:07 PM, Blair Williams <[email protected]> wrote: > Try using urlencode: > > $serializePOST = serialize($_POST); > print "<td><a href=\"customer_information.php?id=" . $customerId . > "&postArray=" . urlencode($serializePOST) . "\">View</a></td>"; > > Blair > > On Feb 10, 2012, at 3:00 PM, Merrill Oveson 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. >> >> Thanks >> >> Merrill >> >> _______________________________________________ >> >> UPHPU mailing list >> [email protected] >> http://uphpu.org/mailman/listinfo/uphpu >> IRC: #uphpu on irc.freenode.net > > > -----BEGIN PGP SIGNATURE----- > > iQEcBAEBAgAGBQJPNZUzAAoJENNKVhok3Rk2OicH/1Zkzq3zDDsnFuDPdgdk1LLJ > Z5yt6NdV11Ceaag1Ryuy8pjYOTzg7dRRvN72fpOty4jweRYobm/knDsSi3F6kPcs > LD54rPSXoTlUOa5uXCU5ztTgViaG+ODUJGApVYHJ1Dclq62vzGrtJkhSdCtOpobB > QW3zZsFWrzKZrxYAYrrZaUZayddl291EnTcoRV8Vx71j6p0114sTnxxrmQvXfOAA > bsDabveYMApVVAED86gq8qpO2yPGKN7qMI56YlzHb2IEGN/cyiALZxXuilnZMUCk > gXAkUcBiaRtDuv7WHA45feVv+Hb2g/SygM5FPoPLyk2UfZsfj2AaO4kBvv3wr4M= > =jNHD > -----END PGP SIGNATURE----- > _______________________________________________ UPHPU mailing list [email protected] http://uphpu.org/mailman/listinfo/uphpu IRC: #uphpu on irc.freenode.net
