PHP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsProgramming LanguagesPHP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old April 23rd, 2000, 09:35 PM
eduany eduany is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2000
Location: Boston, MA
Posts: 54 eduany User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 14
Send a message via AIM to eduany
Hello to all and thank-Q for reding
i have the following problem with netscape
when i search for data in MySQL and then create a link of the data returned to another
page so users can click on the link and then edit the data associated with their selection,
thats were Netscape fails to pass the data to the next page so when users click on the links nothing comes up except if they are using IE 4.0+ which passes the data with no plroblem...
any ideas anybody?
i already tried the forms in HTML and PHP but wiht no success...
if you would like to see the code i'll be more than glad to post it or e-mail it to you thankx for taking the time to read...

MIke (eduany)

Reply With Quote
  #2  
Old April 23rd, 2000, 09:59 PM
firepages's Avatar
firepages firepages is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Feb 2000
Location: Perth West Australia
Posts: 757 firepages User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 18 m 32 sec
Reputation Power: 14
If you have <a href="#.php3?string=this is a string"> Netscape will only return -this-, goto the php manual and look up string urlencode() and urldedode() this places % between spaces so NS gets the idea.

Simon

------------------
Simon Wheeler
FirePages -DHTML/PHP/MySQL

Reply With Quote
  #3  
Old April 24th, 2000, 01:04 AM
eduany eduany is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2000
Location: Boston, MA
Posts: 54 eduany User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 14
Send a message via AIM to eduany
Thank_Q for your reply firepages..
i tried the 'urlencode()' like this:
(but wiht no success)


while ($r = mysql_fetch_array($query)) {
$alias = $r["alias"];
$s_type = $r["s_type"];
$rack = $r["rack"];
$rack_p = $r["rack_p"];
$s_port = $r["s_port"];
$os = $r["os"];
$ip_add = $r["ip_add"];

echo "<tr>
<td align=left>
<a href="editing.php3?alias=urlencode($alias)&s_type=urlencode($s_type)&etc...

// and here is what the other file looks like:

<html>
<body bgcolor=#ffffff>

<img src="img/hnet.gif" alt=""><h1>Edit entry</h1>
<form method="get" action="editdb.php3">

<table width="700" align=center bgcolor=gray border=1 cellspacing=0 cellpadding=0>

<tr>
<td bgcolor=#6666cc width="25%"><b>Name/Alias:</b></td><td><font color=orange size=+1><b><?php echo "$alias";?></b></font></td></tr>

<tr>
<td bgcolor=#6666cc width="25%"><b>Server_Type:</b></td><td><input type=text name=s_type size=20 maxlength=20 value="<?php echo "$s_type";?>"></td></tr>
etc......

thank-Q all

eduany (php/mysql newbie)

[This message has been edited by eduany (edited April 24, 2000).]

[This message has been edited by eduany (edited April 24, 2000).]

Reply With Quote
  #4  
Old April 28th, 2000, 10:04 PM
cka cka is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2000
Location: Ontario, Canada
Posts: 498 cka User rank is Corporal (100 - 500 Reputation Level)cka User rank is Corporal (100 - 500 Reputation Level)cka User rank is Corporal (100 - 500 Reputation Level)cka User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 17
Don't include the functions (urlencode/urldecode) inside the echo statement. That just echoes urlencode() with the string evaluated in it. Instead, set temporary variables that hold the url-encoded string.

Try this (rename the vars of course):

$str_tmp = urlencode($this);
echo "<a href="editing.php3?alias=$str_tmp ...">yadda</A>


------------------
To alcohol! The cause of, and solution to, all of life's problems. -- Homer Simpson

Reply With Quote
  #5  
Old April 29th, 2000, 03:46 AM
ranjeet ranjeet is offline
Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2000
Location: thane
Posts: 50 ranjeet User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to ranjeet Send a message via Yahoo to ranjeet
I'm a new member sir

but i was having the same problem

wht i did (becuz at that time i was not aware of urlencode())
like
<a href="editing.php3?address="$address"....>xyz</a>

same thing worked for me

Reply With Quote
  #6  
Old April 29th, 2000, 05:54 AM
eduany eduany is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2000
Location: Boston, MA
Posts: 54 eduany User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 14
Send a message via AIM to eduany
Thank-Q CKA...
appreciate your help, as you can see i am pretty new to this language, only newbies like me makes these type of mistakes..

once again thank-Q to all for writing...
until next time Folks!

ps: i like the quoted.. lol

[This message has been edited by eduany (edited April 29, 2000).]

Reply With Quote
  #7  
Old April 29th, 2000, 11:01 PM
cka cka is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2000
Location: Ontario, Canada
Posts: 498 cka User rank is Corporal (100 - 500 Reputation Level)cka User rank is Corporal (100 - 500 Reputation Level)cka User rank is Corporal (100 - 500 Reputation Level)cka User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 17
Seems to me that you're setting the URL-encoded variables before you're setting the regular ones. Therefore, the urlencoded variables will be null, and you won't have your script anywhere near working.

------------------
To alcohol! The cause of, and solution to, all of life's problems. -- Homer Simpson

Reply With Quote
  #8  
Old April 30th, 2000, 01:20 AM
eduany eduany is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2000
Location: Boston, MA
Posts: 54 eduany User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 14
Send a message via AIM to eduany
Hello im back....
i finally go this working
have to admit i learned a lot from this one...

thank-Q guys

Mike (eduany)

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPHP Development > Netscape and PHP3

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap