How to send data use odbc_result_all

wxdqz

New Member
I wrote a code:

$res2 = odbc_exec($connect,$q2);
$res=odbc_result_all($res2)
//mail
$content = odbc_result_all($res2);

mail($to,$subject,$content);



but $content will be result's id not result
rows data , how could get Content from table to send a mail
 
Back
Top