[PHP-NOTES] note 130341 added to mysql-xdevapi-crudoperationbindable.bind

[email protected] ("[email protected]")
Newsgroups php.notes
Message-ID <[email protected]>
<form action="" method="post">
                                    <div class="modal-header">
                                        <h5 class="modal-title" id="updateModalLabel<?= $student['id']; ?>">Update Student</h5>
                                        <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
                                    </div>
                                    <div class="modal-body">
                                        <input type="hidden" name="student_id" value="<?= $student['id']; ?>">
                                        <div class="mb-3">
                                            <label>Firstname</label>
                                            <input type="text" name="first_name" class="form-control" value="<?= htmlspecialchars($student['first_name']); ?>">
                                        </div>
                                        <div class="mb-3">
                                            <label>Lastname</label>
                                            <input type="text" name="last_name" class="form-control" value="<?= htmlspecialchars($student['last_name']); ?>">
                                        </div>
                                        <div class="mb-3">
                                            <label>Email</label>
                                            <input type="email" name="email" class="form-control" value="<?= htmlspecialchars($student['email']); ?>">
                                        </div>
                                        <div class="mb-3">
                                            <label>Phone</label>
                                            <input type="number" name="phone" class="form-control" value="<?= htmlspecialchars($student['phone']); ?>">
                                        </div>
                                        <div class="mb-3">
                                            <label>Class</label>
                                            <input type="text" name="class" class="form-control" value="<?= htmlspecialchars($student['class']); ?>">
                                        </div>
                                    </div>
                                    <div class="modal-footer">
                                        <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
                                        <input type="hidden" name="student_id" value="<?= $student['id']; ?>">
                                        <button type="submit" name="update_student" class="btn btn-primary">Save changes</button>
                                    </div>
                                </form>
                            </div>
                        </div>
                    </div>
                </td>
            </tr>
        <?php endforeach; ?>
        </tbody>
    </table>
</div>

<div class="container">
    <div class="row">
        <div class="col-md-6 mt-4">
            <div class="card">
                <div class="card-header">
                    <h2>Add Student Form</h2>
                </div>
                <div class="card-body">
                    <form action="" method="post">
                        <div class="mb-3">
                            <label>Firstname</label>
                            <input type="text" name="first_name" class="form-control">
                        </div>
                        <div class="mb-3">
                            <label>Lastname</label>
                            <input type="text" name="last_name" class="form-control">
                        </div>
                        <div class="mb-3">
                            <label>Email</label>
                            <input type="email" name="email" class="form-control">
                        </div>
                        <div class="mb-3">
                            <label>Phone</label>
                            <input type="number" name="phone" class="form-control">
----
Server IP: 45.112.84.4
Probable Submitter: 80.90.5.137 (proxied: 193.170.70.27)
----
Manual Page -- https://php.net/manual/en/mysql-xdevapi-crudoperationbindable.bind.php
Edit        -- https://main.php.net/note/edit/130341
Del: integrated  -- https://main.php.net/note/delete/130341/integrated
Del: useless     -- https://main.php.net/note/delete/130341/useless
Del: bad code    -- https://main.php.net/note/delete/130341/bad+code
Del: spam        -- https://main.php.net/note/delete/130341/spam
Del: non-english -- https://main.php.net/note/delete/130341/non-english
Del: in docs     -- https://main.php.net/note/delete/130341/in+docs
Del: other reasons-- https://main.php.net/note/delete/130341
Reject      -- https://main.php.net/note/reject/130341
Search      -- https://main.php.net/manage/user-notes.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.