User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 330,112 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,105 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 565 | Replies: 48 | Solved
Reply
Join Date: May 2008
Location: UK
Posts: 49
Reputation: xan is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 6
xan's Avatar
xan xan is offline Offline
Light Poster

Re: a little help

  #31  
4 Days Ago
what error do you get on submitting?
Reply With Quote  
Join Date: Jan 2008
Posts: 60
Reputation: rickarro is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 0
rickarro rickarro is offline Offline
Junior Poster in Training

Re: a little help

  #32  
4 Days Ago
This page can not be displayed.
Reply With Quote  
Join Date: Jan 2008
Posts: 60
Reputation: rickarro is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 0
rickarro rickarro is offline Offline
Junior Poster in Training

Re: a little help

  #33  
4 Days Ago
could the problem be on the first form, at the:
echo '<td><a href="phoneupdate1.php?id='.$row[0].'">Update</a></td><br/><hr>';
area? Maybe its not passing the id to the next form. Is there a way to test this?
Reply With Quote  
Join Date: May 2008
Location: UK
Posts: 49
Reputation: xan is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 6
xan's Avatar
xan xan is offline Offline
Light Poster

Re: a little help

  #34  
4 Days Ago
make sure that the location in the header() redirect is correct.
Reply With Quote  
Join Date: May 2008
Location: UK
Posts: 49
Reputation: xan is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 6
xan's Avatar
xan xan is offline Offline
Light Poster

Re: a little help

  #35  
4 Days Ago
Originally Posted by rickarro View Post
could the problem be on the first form, at the:
echo '<td><a href="phoneupdate1.php?id='.$row[0].'">Update</a></td><br/><hr>';
area? Maybe its not passing the id to the next form. Is there a way to test this?


No, that is right, $row[0] refers to the column id in the database, the easy way to check, click it and see if the correct number shows up in the URL on the next page

http://www.elvenblade.com/test/ - that is the script I posted in my previous message, it all seems to be working there.
Last edited by xan : 4 Days Ago at 11:08 am.
Reply With Quote  
Join Date: Jan 2008
Posts: 60
Reputation: rickarro is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 0
rickarro rickarro is offline Offline
Junior Poster in Training

Re: a little help

  #36  
4 Days Ago
The header redirect is directing back to the "phoneupdate.php" file, where it should.
Reply With Quote  
Join Date: May 2008
Location: UK
Posts: 49
Reputation: xan is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 6
xan's Avatar
xan xan is offline Offline
Light Poster

Re: a little help

  #37  
4 Days Ago
try changeing these <? echo $row[number]; ?> to these <?=$row[number]?> in the HTML form.
Last edited by xan : 4 Days Ago at 11:40 am.
Reply With Quote  
Join Date: Jan 2008
Posts: 60
Reputation: rickarro is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 0
rickarro rickarro is offline Offline
Junior Poster in Training

Re: a little help

  #38  
4 Days Ago
No Change
Reply With Quote  
Join Date: Jan 2008
Posts: 60
Reputation: rickarro is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 0
rickarro rickarro is offline Offline
Junior Poster in Training

Re: a little help

  #39  
4 Days Ago
Do you have it working on your side? This is just too weird.
Reply With Quote  
Join Date: May 2008
Location: UK
Posts: 49
Reputation: xan is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 6
xan's Avatar
xan xan is offline Offline
Light Poster

Re: a little help

  #40  
3 Days Ago
I have it working here: http://www.elvenblade.com/test/ with the code I posted in post 29
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb Marketplace (Sponsored Links)
Thread Tools Display Modes

Other Threads in the PHP Forum

All times are GMT -4. The time now is 1:15 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC