Posted By

assbach on 01/07/07


Tagged

select Smarty variables adodb getone


Versions (?)

ADODB GetOne


 / Published in: PHP
 

  1. #get a single value
  2. $link=$db->GetOne("SELECT link FROM table WHERE id = 1);
  3.  
  4. #additional, push to smarty
  5. $smarty->assign("link", $link);

Report this snippet  

You need to login to post a comment.