Syntext Error
This commit is contained in:
parent
7d13740033
commit
10df5dc62f
|
|
@ -132,7 +132,7 @@ if (isset($_POST['submit'])) {
|
||||||
// --- 2. Load Data for Display ---
|
// --- 2. Load Data for Display ---
|
||||||
$saved_data = [];
|
$saved_data = [];
|
||||||
if (file_exists($json_file)) {
|
if (file_exists($json_file)) {
|
||||||
$json_content = file/get_contents($json_file);
|
$json_content = file_get_contents($json_file);
|
||||||
$saved_data = json_decode($json_content, true) ?? [];
|
$saved_data = json_decode($json_content, true) ?? [];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -233,7 +233,7 @@ include 'header.php';
|
||||||
<div class="card wide">
|
<div class="card wide">
|
||||||
<h3 style="margin-bottom: 15px;">Content Details</h3>
|
<h3 style="margin-bottom: 15px;">Content Details</h3>
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
<input type="text" name="content_type" value="<?php echo htmlspecialchars(getValue($saved_data, 'content_type')); ?>" required>
|
<input type="text" name="content_type" value="<?php echo htmlspecialchars(getValue($saved_data, 'content_type')); ?>" required>
|
||||||
<label>Content Type</label>
|
<label>Content Type</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="dropdown-container">
|
<div class="dropdown-container">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue