hi everybody
first of all, i'm very new to php
i want to make a website that takes reports from a form and save it in database
then return it as atable in the page
here is my try
please help me
thank you in advance
help with this project please
Moderator: General Moderators
help with this project please
- Attachments
-
- report.rar
- (8.19 KiB) Downloaded 12 times
-
- report.rar
- (8.19 KiB) Downloaded 5 times
Re: help with this project please
hey i looked at your code its got most of the stuff but you are missing a form, you have the fields etc even the submit button, so take a better look at it add a form like:
Now this will post it to your store.php page because the submit button is in your form before your submit wouldnt have known where to post or get to, then hopefully it should insert into db
hope that helps abu
Code: Select all
<form action="store.php" method="post">
<table width="818" height="533" border="0">
<td width="276"><
font size="4">Edited by:</font></td>
<td width="418"><label name="edited_by">
<?php echo $_POST["username"]; ?>
</label>
</td>
<td><label>
<input type="reset" name="Reset" id="button" value="Reset" />
<input type="submit" name="submitbtn" id="submitbtn" value="Submit" />
</td><tr></form>hope that helps abu
Re: help with this project please
thanx for reply
i attached the whole project
please if you can help me with errors, i tried too much but now i haven't more time
when i click on submit button in adminpage.php it must go to store.php and store data in the database but it don't do that.
another thing is that how can labels' values in adminpage given to textboxes as values in edit report.php when i click on Edit link in adminpage.php
the last is that loginout.php executes index.php several times not just nce , why?
i attached the whole project
please if you can help me with errors, i tried too much but now i haven't more time
when i click on submit button in adminpage.php it must go to store.php and store data in the database but it don't do that.
another thing is that how can labels' values in adminpage given to textboxes as values in edit report.php when i click on Edit link in adminpage.php
the last is that loginout.php executes index.php several times not just nce , why?
- Attachments
-
- reports.sql.zip
- (911 Bytes) Downloaded 5 times
-
- part2.rar
- (6.31 KiB) Downloaded 8 times
-
- part1.rar
- (9.53 KiB) Downloaded 6 times
Re: help with this project please
please anybody reply
i must deliver it today
i must deliver it today