User Profile

Collapse

Profile Sidebar

Collapse
ozmariners
ozmariners
Last Activity: Oct 25 '10, 10:48 PM
Joined: Sep 10 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Form Code

    Thanks for looking at this Johny


    Code:
    <?php
    session_start();
    function sanitize($value, $type)
    {
      $value = (!get_magic_quotes_gpc()) ? addslashes($value) : $value;
    
      switch ($type) {
        case "text":
          $value = ($value != "") ? "'" . $value . "'" : "NULL";
          break;
        case "long":
    ...
    See more | Go to post
    Last edited by Jen Davy; Sep 12 '10, 09:16 AM. Reason: Added code tags. Please be aware that most experts do not like digging through so many lines of code.

    Leave a comment:


  • PHP form some data from mySQL how to send total back to mySQL?

    Enter id and seven fields populate from mySQL - works
    Two drop down lists from mySQL - works
    Number of checkboxes for user input - works
    To be entered into mySQL and emailed to three addresses from filled fields - maybe works
    Currently have two submit buttons, different names, but I would appreciate help to enable fields from mySQL to continue to work, but for the "total" form to be inserted into mySQL.
    No...
    See more | Go to post
    Last edited by Jen Davy; Sep 12 '10, 09:15 AM. Reason: added code tags
No activity results to display
Show More
Working...