• 0
Sign in to follow this  
Guest eustaquio

Php + Firebird


Guest eustaquio

estou tentando fazer um update numa tabela de um banco firebird mas da a seguinte mensagem:

Warning: ibase_execute() [function.ibase-execute]: conversion error from string "" in C:\www\admin\update.php on line 31

o código :


$titulo = $_POST["titulo"];

$sinopse = $_POST["sinopse"];

$dataincl = $_POST["dataincl"];

$news = $_POST["news"];

$show = $_POST["pa"];

$id = $_GET ["id"];

$sql = "Select * from NOTICIAS";

$result = ibase_query($rdb,$sql);

$row = ibase_fetch_object ($result);

$sql = ibase_prepare("UPDATE NOTICIAS set TITLE='$titulo',SINOPSE='$sinopse',news='$news',SHOW='$show',DATAINCL='$dataincl' where id='$id'");

$trans = ibase_trans();







Share this post

Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

/* tenta fazer isso

No arquivo php.ini deve ser trocada a opção OFF para ON na seguinte linha: magic_quotes_sybase


Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this