Jump to content

weetabix

Members
  • Posts

    44
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

weetabix's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Everything works fine, just had another look at it. Btw, you're my god now thanks for everything!!!!!!
  2. Oh god Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /dos/html/staffUpdate.php on line 142
  3. yeah i kinda thought so but heres what i get when testing
  4. ok, one more question <td><input type = 'Text' name='staff_id' value='".$_POST['staff_id']."'></td> doesnt this need the php brackets to work?
  5. Yeah, apparently that was the problem! All wrong? eeek.... expand that pls I'm gonna try the other script...
  6. Oh, its working now but I want it to remember the staff_id the user entered in the previous page. I changed the code to <?php echo "<td><input type = 'Text' name='staff_id' value = '$staffid>'</td>" ?>
  7. still nothing by the way, then the staff id is passed to the script its done by GET. I now changed it to POST and still nothing :S
  8. still, it doesnt update anything
  9. where you say //buttons, does that mean id have to setup another button or use the existing code? I tried it but it'll still wont work
  10. So all the fields need to be changed to be updated ?
  11. Now it says update completed but still the data arent entered in the db. Also, now if I call it without a staff id it still works...
  12. keeps returning Please provide us with a valid Staff ID apparently when the query is executed it calls back the same page and that needs the staffid to work. and without passing it to it, it doesnt work right ? something goes wrong when passing the id to the page.
  13. Again, the same as before after I enter a valid staff ID I proceed to the page and when I try to change some data there I get the following message Staff ID was not provided! and it remains the same
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.