raptor30506090 Posted March 31, 2011 Author Share Posted March 31, 2011 yes tryed that no luck same errors Quote Link to comment https://forums.phpfreaks.com/topic/232193-can-any-one-help-please/page/2/#findComment-1195167 Share on other sites More sharing options...
Maq Posted March 31, 2011 Share Posted March 31, 2011 yes tryed that no luck same errors Can I see what you changed? Quote Link to comment https://forums.phpfreaks.com/topic/232193-can-any-one-help-please/page/2/#findComment-1195172 Share on other sites More sharing options...
KevinM1 Posted March 31, 2011 Share Posted March 31, 2011 yes tryed that no luck same errors You really need to stop and take a look at the process. There is no id value. You have: <input name="id" type="hidden" value="<?php echo 'id'; ?>" /> Which if you look closely, will simply echo the word 'id'. This is probably not what you want, and is most likely a typo. That typo aside, you still wouldn't have an id value because you never set one in your code before the form is displayed. You need to slow down and map the process you're trying to create by hand before attempting to code it. Pen/pencil and paper. Really. You have a glaring logic error you need to fix. You also clearly need to learn about POST, GET, and what their differences are, as the lack of that fundamental understanding is part of your problem here. Quote Link to comment https://forums.phpfreaks.com/topic/232193-can-any-one-help-please/page/2/#findComment-1195174 Share on other sites More sharing options...
raptor30506090 Posted March 31, 2011 Author Share Posted March 31, 2011 Hi i now that and you mite think im mad but followed tut from youtube all the rest of it worked apart from this its not as if im not trying to fix it so i understand but with comments like that how do's that help. Many thanks Daz.. Quote Link to comment https://forums.phpfreaks.com/topic/232193-can-any-one-help-please/page/2/#findComment-1195186 Share on other sites More sharing options...
KevinM1 Posted March 31, 2011 Share Posted March 31, 2011 Hi i now that and you mite think im mad but followed tut from youtube all the rest of it worked apart from this its not as if im not trying to fix it so i understand but with comments like that how do's that help. Many thanks Daz.. I'm trying to help you by steering you in the right direction to learn what the code actually means. Copying code isn't going to teach you how to program. You need to be able to know what it is you want to do, and then figure out the code necessary to do it. I've gone just about as far as I can short of writing your code for you. Maq and I have explained exactly why you're getting an error, and what you should learn in order to fix it. Your issue is larger than something that can be solved by changing a line of code. Your script has a fundamental logic error. This error has been explained. It's up to you to take that explanation and figure out how to apply it to your script. We can't do it because we don't know what your id is supposed to represent nor how it's supposed to be generated. Finally, if you're going to learn PHP, the best free resource is the online manual: http://www.php.net/manual/en/langref.php If English isn't your native language, you can pick which locale is best for you: http://www.php.net/docs.php That said, you should still probably invest in a good book or two, just to see different ways to go about solving common problems, and to reinforce what you learn. Quote Link to comment https://forums.phpfreaks.com/topic/232193-can-any-one-help-please/page/2/#findComment-1195222 Share on other sites More sharing options...
raptor30506090 Posted March 31, 2011 Author Share Posted March 31, 2011 Ok ill get right on it thanks for your help i do now what you mean but i always run before i can walk .. Thanks Daz Quote Link to comment https://forums.phpfreaks.com/topic/232193-can-any-one-help-please/page/2/#findComment-1195308 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.