note 84142 added to function.pg-unescape-bytea

From: Date: Mon, 30 Jun 2008 19:31:28 +0000
Subject: note 84142 added to function.pg-unescape-bytea
Groups: php.notes 
Request: Send a blank email to php-notes+get-141018@lists.php.net to get a copy of this message
<?php $conexao = pg_connect("host=localhost dbname=name user=postgres password=123456") or die('Sorry =( : ' . pg_last_error()); $cod= $_GET['cod']; $sql = "SELECT * FROM table WHERE cod_field = '$cod'"; $quer = pg_query($conexao, $sql); $reg = pg_fetch_object($query); print pg_unescape_bytea($reg -> field_bytea); ?> ---- Server IP: 200.185.126.110 Probable Submitter: 189.26.148.106 ---- Manual Page -- http://www.php.net/manual/en/function.pg-unescape-bytea.php Edit -- https://master.php.net/note/edit/84142 Del: integrated -- https://master.php.net/note/delete/84142/integrated Del: useless -- https://master.php.net/note/delete/84142/useless Del: bad code -- https://master.php.net/note/delete/84142/bad+code Del: spam -- https://master.php.net/note/delete/84142/spam Del: non-english -- https://master.php.net/note/delete/84142/non-english Del: in docs -- https://master.php.net/note/delete/84142/in+docs Del: other reasons-- https://master.php.net/note/delete/84142 Reject -- https://master.php.net/note/reject/84142 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#141018) next »