Jump to content

[SOLVED] Array / Serialize


phpretard

Recommended Posts

I serialized input from a form, inserted the serialized data, unserialized the data and echoed it.

 

It echoed an array and I dont know how to seperate the information so I can use it.

 

I need to output the "add_player.php" part of this like so -<a href='http://www.website.com/add_player.php'>

array(4) { [0]=> string(14) "add_player.php" [1]=> string( "rand.php" [2]=> string(10) "roster.php" [3]=> string( "menu.php" } Array

 

Can someone help seperate this stuff please?

Link to comment
https://forums.phpfreaks.com/topic/87942-solved-array-serialize/
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.