Jump to content

amylou

Members
  • Posts

    58
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

amylou's Achievements

Member

Member (2/5)

0

Reputation

  1. i have the form and the code for the form all done and it works, i just need the validation so that the user doesn't send an empty form.
  2. i would like to use php as i do not know how to do java script and the code is written in php thank you for your help
  3. is there a simple code that will check to see if users have filled in required fields on a form?
  4. i was wondering if there was a simple code for greying out a radio buttons when another button is checked. example: radio button A radio button B radio button C when C is checked i would like A and B not usable
  5. the line of code that it goes to is the $last=$_POST['last']; $first=$_POST['first'] maybe i did not put it in the right spot i put it before the if statement
  6. the program lets a person go to a form input first and last name click submit and the results are shown with their name , date, adn a check box after the last checkbox there is a link for delteing not sure how i would validate them in this code. if($_GET['m'] == 'del' ) { $requestId = $_GET['id']; $query ="DELETE FROM timeoff WHERE last = '$last' AND first = '$first' "; $result= mysql_query($query) or die(mysql_error());
  7. that is the error i am getting this is the line of code $query ="DELETE FROM timeoff WHERE last = '$last' AND first = '$first' ";
  8. i did that and the error is that i have undefined variables last=$last and first=$first. how would I define the variables in the delete code thanks for your help
  9. when i echoed out the query the following it printed the following DELETE FROM timeoff where last =" AND first=" and when i echoed out the result of query i get the number 1
  10. is there a way to make the box itself or the text bigger
  11. i have the following code that works, i was wondering if there is a way to disable the x(close) so that the user has to hit okay and also is there away to make the window bigger?? <script type="text/JavaScript"> function HandleTimeOff(bPaid) { if( bPaid ) { alert("Paid Time Off Notice: Please Remember to fill out PAYROLL REQUEST form."); } else { } } </script>
  12. my problem now is that it will tell the user that it has been deleted but does not delete from database. any ideas
  13. i have turned on the error reporting in my php.ini file, and i tried the following code to make sure it worked <?php print("The next line generates an error.<br>"); printaline("PLEASE?"); print("This will not be displayed due to the above error."); ?> and the only thing that worked on it was the first line---print("the next line generates and error.<be>"); and i am still not getting any errors when i run my program
  14. i have all the validation stuff turned on and the only errors i am getting has to do with linking of my css files
  15. okay i have been looking and i don't think i have the correct error reporting function thing going. could you tell me where its at so that i might be able to see also i don't have access to another server to test it to see if it works
×
×
  • 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.