Hi,
can anyone help? I can’t seem to get the single quotes to insert in a (daylog)textarea. I’m using the $daylog = mysql_real_escape_string($daylog);…am I missing something? Thanks much in advance! Fagin
if ($go_on == true) {
if (isset($_POST['submit'])) {
$member = $_SESSION['login_id'];
$recurrence_state = '';
if ($recurrence = method_vars('recurrence') and
$recurrence == 'permanent') {
$recurrence_state = 'permanent';
}
$daylog = mysql_real_escape_string($daylog);
echo "<p><b>" . $txt["Following_App_Added"] . ":</b></p>\
<p>";
for ($i = 0; $i < $num; $i++) {
$ins = "INSERT INTO " . $table . " (name,
address,
type,
daylog,
cap,
type,
block,
state)
VALUES ('$member[$i]',
'$address',
'$type',
'$daylog',
'$cap',
'guard',
'" . method_vars('block') . "',
'" . $state . "')";