n00byboy Posted September 27, 2008 Share Posted September 27, 2008 hi i am really new to php and i really need this badly so i am trying to do something like this http://www.cs.sfu.ca/CC/365/li/material/cgi-bin/wavelet.cgi when u put a value between 1 to 100 it should give you the correspoding jpeg file for eg if you put 50 it will show you 50.jpeg so i need the php file for the form like wavelet.php if anyone can help i would really appreciate it . Link to comment https://forums.phpfreaks.com/topic/126014-help-with-simple-code/ Share on other sites More sharing options...
trq Posted September 27, 2008 Share Posted September 27, 2008 If your looking for someone to write code for you post your request in the freelance board. Otherwise, post your code and issue here. Link to comment https://forums.phpfreaks.com/topic/126014-help-with-simple-code/#findComment-651640 Share on other sites More sharing options...
n00byboy Posted September 27, 2008 Author Share Posted September 27, 2008 its not really a code so in the wavelet.php file i am trying to get the P value from the html form and post the $p.jpeg value but i dont know how to put this can anyone head me in the right direction Link to comment https://forums.phpfreaks.com/topic/126014-help-with-simple-code/#findComment-651644 Share on other sites More sharing options...
n00byboy Posted September 27, 2008 Author Share Posted September 27, 2008 so here is the form code <FORM Method=POST Action="wavelet.cgi"> <input type=hidden name="image" value="p "> here i want a wavelet.php when a user puts a value for p which is betweeen 1 to 100 should return the p.jpeg file. if someone puts a value of 50 for p then he should get 50.jpeg Link to comment https://forums.phpfreaks.com/topic/126014-help-with-simple-code/#findComment-651674 Share on other sites More sharing options...
corbin Posted September 27, 2008 Share Posted September 27, 2008 If your looking for someone to write code for you post your request in the freelance board. Otherwise, post your code and issue here. Link to comment https://forums.phpfreaks.com/topic/126014-help-with-simple-code/#findComment-651677 Share on other sites More sharing options...
Guest Xanza Posted September 27, 2008 Share Posted September 27, 2008 First of all, don't capitalize unless your using PHP functions, and you need them capitolized, or you really need something to stand out; otherwise it's just annoying. <form method="post" action="wavelet.cgi"> <input type="hidden" name="image" value="p"> Secondly atributes (ex. type=hidden) need to be in "'s... This is just basic conventions. And last but not least: If your looking for someone to write code for you post your request in the freelance board. Otherwise, post your code and issue here. Link to comment https://forums.phpfreaks.com/topic/126014-help-with-simple-code/#findComment-651693 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.