Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

echo htmlspecialchars($_SERVER["PHP_SELF"]); y ajax

<form id='myform' action=".htmlspecialchars($_SERVER["PHP_SELF"])." method='post''/>
                <input type='hidden' name='id' value='$id' />
                <td>                    
                    <input style='height:18px' type='date' name='date' value='$date' required/>                                                                                                     
                </td>
                <td>                    
                    <select name='status' form='myform' required/>
                      <option>$status</option>                                        
                      <option value='status_one'>status_one</option>

                    </select>
                </td>
                <td>
                    <input form='myform' type='text' name='memo' value='$memo'/>
                </td>
                <td>
                    <input form='myform' type='submit' value='Save' />
                    </form> 
                </td>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #echo #ajax
ADD COMMENT
Topic
Name
3+9 =