i have problem with write sql
writing like this:
$ki="UPDATE table1 SET name= 'ok5' where id=4 "
$st=$dbh->prepare($ki);
$sth= $dbh -> prepare ("SELECT id,name,phone,data from $table order by id") or die
"Cannot SELECT from '$table'" ;
$sth -> execute ;

i can't update the table, alse  delete
how can i do,
another problem how can i close the database.
did it write: $dbh->close();?

-------------------------------------------------------------------
Ragnar Hakonarson:
Where can i fine perldoc perldsc?


                    ��
��

            lyf
            [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to