FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » URL linking to 3d array
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: URL linking to 3d array [message #184260 is a reply to message #184254] Tue, 17 December 2013 00:42 Go to previous message
Denis McMahon is currently offline  Denis McMahon
Messages: 634
Registered: September 2010
Karma:
Senior Member
On Mon, 16 Dec 2013 14:15:01 -0500, richard wrote:

> $test['John Smith']['a']['b']="data";
>
> What is the proper way to link this in the URL?
> page.php?name=John Smith ???????
>
> Are space allowed like that or not?

The actual question asked has nothing to do with (a) php or (b) 3d
arrays. The question as asked is actually an html question:

"How do I encode spaces in the query part of a url?"

It can however be turned into a php question:

"Is there a php function that can automatically encode spaces in the
query part of a url?"

I would suggest you spend a significant amount of time (a) studying the
examples when you find the function and (b) comparing the different
functions that are mentioned, because if you don't (and possibly even if
you do) I know exactly what your next fuck up is going to be.

And I bet a few other people have a damn good idea too.

--
Denis McMahon, denismfmcmahon(at)gmail(dot)com
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to code () inside quotes
Next Topic: foreach problem
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 08 07:26:14 GMT 2024

Total time taken to generate the page: 0.04868 seconds