Change <? to <?php and add some formatting
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<?// Escaping the input data:
|
||||
<?php // Escaping the input data:
|
||||
|
||||
$rid = $_POST['id'];
|
||||
$explodeid = explode("-",$rid);
|
||||
@@ -22,4 +22,3 @@ $xmla->asXML('../db/notes.xml');
|
||||
|
||||
$target++;
|
||||
echo $target;
|
||||
?>
|
||||
|
@@ -1,4 +1,5 @@
|
||||
<?// Escaping the input data:
|
||||
<?php
|
||||
// Escaping the input data:
|
||||
|
||||
$body = $_POST['body'];
|
||||
$color = $_POST['color'];
|
||||
@@ -26,4 +27,3 @@ $newnote->addChild('left', '0');
|
||||
$xmla->asXML('../db/notes.xml');
|
||||
|
||||
echo $nb;
|
||||
?>
|
||||
|
Reference in New Issue
Block a user