hi
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.
the reason
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.
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!
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.
hi
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('<a href="http://maps.yahoo.com/py/maps.py?&addr=');
//print($row["address"]);
//echo('&csz=San+Francisco%2C+CA+94114">');
//echo('<img src="http://us.yimg.com/i/yahootogo/buttons/yahoo_maps.gif" width=150 height=23 //align=middle alt="[ Yahoo! Maps ]">
//</a>');
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.
Bookmarks