I want to set these array data for the form.
This is my array.
Array
(
[studentId] => 1
[lecturerId] => 1
[lecturerName] => muni
[studentName] => kali
[studentUniversityId] => we140
)
This is my html form. i want set array data as a value for this form.
<form action="" method="post">
<label for="studentID">Student ID</label>
<input type="text" name="studentUniversityId" id="studentID" placeholder="studentID">
<label for="studentName">Student Name</label>
<input type="text" id="studentName" value="" name="studentName" placeholder="Student Name"><br><br>
<label for="supervisorName">Supervisor Name</label>
<input type="text" id="supervisorName" name="lecturerName" placeholder="Supervisor Name"><br><br>
<input type="submit" id="Upload" name="submit" value="Upload">