I want to store special characters in oracle sql, like á, é, ő etc. How can i do it? Every character turns into ?? when i select them. Never used oracle sql its a real pain in the ass for me.
PHP code:
$id = $_POST['id'];
$comment = $_POST['comment-content'];
$username = $_SESSION['username'];
$q = "INSERT INTO hozzaszolasok (username, image_id, content, date_added) VALUES ('$username',$id,'$comment',(SELECT sysdate FROM dual))";
$s = oci_parse($c, $q);
oci_execute($s);
oci_free_statement($s);
oci_close($c);
echo '<script>window.location.href = "comments.php?id=' . $id . '";</script>';