Results 1 to 5 of 5
Aug 16, 2000, 15:21 #1
i got my data into mysql, wrote a workable php with lots of help from you all. the display works fine for win98. but then falls apart on apple and winnt.
here is how
my site is noevalley.com. go there and click on shops and services and a page with multiple categories displays. some are one name categories and some are multiple name.
click on a single name and the category will open to display the possibilities. ie thai under food. but if you had chosen public elementary a two name category under schools only public would display and no selections.
on win98 this would work fine on winnt or apple it would be as described.
there is a desire for a + between the public and education in the nt and apple and the win98 takes care of it internally.
so i will be going to kevins tutorial for the answer.
if anyone has a win98 that is not working as i had originally intended, please let me know.
darned if i know for sure. similar problems?
Aug 16, 2000, 16:01 #2
- Join Date
- Aug 2000
- San Diego, CA
- 0 Post(s)
- 0 Thread(s)
Yes you must urlencode your variable if they are two words So when you disply the links try rawurlencode($variable) This will add the necassary + for you and your variables will be passed correctly. Let me know if this helps you!
Aug 16, 2000, 18:42 #3
looks like that is exactly what i need to do. the problem will have to wait til tommorow. my machine is a win98 and i cannot see the problem from here. it works fine.
tommorow i will have winnt at the local library and another apple down the street.
i will let you know. thanks again.
but why does the problem not show up on my machine? strange.
Aug 17, 2000, 02:54 #4
- Join Date
- Aug 1999
- Lancaster, Ca. USA
- 1 Post(s)
- 0 Thread(s)
It won't happen on your local machine if your accessing the pages locally because Windows allows spaces in filenames.
Once you move to another machine you now have to access the files through HTTP which doesn't allow spaces in filenames.
Wayne Luke - Sitepoint Forums Administrator
Digital Magician Magazine - MetaQuark Creations (Coming Soon)
Aug 17, 2000, 16:10 #5
ok first suggestion put in a %20 in the space. so i backed out of that.
second the isp is in fremont (he.net) running linux and i am in san francisco running win98/2. my access to post is via ftp and telnet. my read of the site is through the http://www.noevalley.com. i tried with the home page set to noevalley and to msn. no change.
so for now i am leaving it with word-word rather than word space word and it works.
i have pulled down the maps that require number+street until i figure out how to add the + .
here is the snip that includes the maps for the site.
//echo('<img src="http://us.yimg.com/i/yahootogo/buttons/yahoo_maps.gif" width=150 height=23 //align=middle alt="[ Yahoo! Maps ]">
at the $row["address"] the program (on my pc) inserted in the address and on this machine it would run without the "+" ie. 400 Collingwood Street but other machines needed a 400+Collingwood+Street.
a click on my machine and the map would appear. on winnt, a request for the map would appear.
the look was of a yahoo logo/button and when clicked would provide a map.
i will find it in kevins tutorial.
later and the best too all ed