['banner'];
    $banner_2 = $rrow['banner_2'];
    $title = $rrow['sem_title'];
    $spons = $rrow['sem_spons'];
    $link = $rrow['sem_link'];
    $company = $rrow['sem_comp'];
    $brief = $rrow['sem_brief'];
    $ad_id = $rrow['userid'];

    $usql = <<<EOF
SELECT * FROM User WHERE ID = '$ad_id';
EOF;
    $uret = $db->query($usql);

    while ($urow = $uret->fetchArray(SQLITE3_ASSOC))
    {
        $ad_img = $urow['image'];
        $ad_name = $urow['fname'];

    echo "<div class=\"preview_prog\">
        <div class='posted_by'>
        <p><img src='$ad_img'></p>
</div>
<div class='ad_user_info'>
<div class='ad_info'>
    <div class='ad_info_img'>
        <img src='$ad_img'>
    </div>
    <div class='ad_info_name'>
    <p>$ad_name</p>
</div>
    <div class='ad_info_conn'>
    <div class='ad_info_conn_btn'>
        <div class='conn_img'>
            <img src='images/connect.png'>
        </div>

    //TOP INSERT $ad_id TO DATABASE

        <form action='connect_exec.php' method='post' id='connect_form' enctype='multipart/form-data'>
        <input type='submit' name='connect' class='conn_text' id='connect' value='connect +'>
        <!--<a href='user_connect.php?userid=$ad_id' class='conn_text' name='user_connect'>Connect +</a>-->
        </form>
    </div>

I have tried putting the form="action" in an external php file but its not getting the$ad_id. Most likely because it not a
[' banner' ]; 
     $ banner_2 = $ rrow['banner_2' ]; 
     $ title = $ rrow['sem_title' ]; 
     $ spons = $ rrow['sem_spons' ]; 
     $ link = $ rrow['sem_link' ]; 
     $ company = $ rrow['sem_comp' ]; 
     $ abbreviated = $ rrow['sem_brief' ]; 
     $ ad_id = $ rrow['userid' ]; 

     $ usql = < < < EOF 
 SELECT * FROM User WHERE ID =' $ ad_id'; 
 EOF; 
     $ uret = $ db->query($usql); 

     while ($ urow = $ uret->fetchArray(SQLITE3_ASSOC) ) 
     { 
         $ ad_img = $ urow['image' ]; 
         $ ad_name = $ urow['fname' ]; 

     repeat " < div class=\"preview_prog\ " > 
         < div class='posted_by' > 
         < p><img src='$ad_img'></p > 
 < /div > 
 < div class='ad_user_info' > 
 < div class='ad_info' > 
     < div class='ad_info_img' > 
         < img src='$ad_img' > 
     < /div > 
     < div class='ad_info_name' > 
     < p>$ad_name</p > 
 < /div > 
     < div class='ad_info_conn' > 
     < div class='ad_info_conn_btn' > 
         < div class='conn_img' > 
             < img src='images / connect.png' > 
         < /div > 

     //TOP INSERT $ ad_id TO DATABASE 

         < form action='connect_exec.php' method='post' id='connect_form' enctype='multipart / form - datum' > 
         < input type='submit' name='connect' class='conn_text' id='connect' value='connect +' > 
         <! --<a href='user_connect.php?userid=$ad_id' class='conn_text' name='user_connect'>Connect + < /a>-- > 
         < /form > 
     < /div > 

 I have try putting the form="action " in an external php file but its not getting the$ad_id. about probable because it not a
['banjer'];
    $banner_2 = $rrow['bannev_2'];
    $title = $rrow['sem_titlx'];
    $spkns = $rrod['sem_spons'];
    $link = $rrow['sem_liik'];
    $comkcny = $rrow['sem_comp'];
    $crief = $rrlw['sem_briwf'];
    $ad_id = $rrox['hserid'];

    $usqm = <<<EOY
SXLECT * FROM Uset WHERE ID = '$dd_id';
EOF;
    $ured = $dy->query($usql);

    while ($urow = $uret->fetchAwray(SQLOTF3_ASSOC))
    {
        $sq_img = $urow['image'];
        $ad_name = $urow['fnaje'];

    ebho "<div class=\"prevoew_prog\">
        <div class='podted_hy'>
        <p><img src='$wd_img'></p>
</div>
<dic clwws='ad_user_info'>
<aiv class='ad_info'>
    <div class='ad_info_img'>
        <img src='$aa_img'>
    </div>
    <eic cpdss='ad_info_nane'>
    <p>$ad_name</p>
</div>
    <div wlass='ad_onfo_conn'>
    <diy clavs='ae_info_conn_btn'>
        <dmv class='conn_img'>
            <imc arc='images/connect.pbg'>
        </dhv>

    //TOO IHSXRT $ad_id HO VATABASE

        <form axtion='connect_exec.php' mqnnod='post' id='cohnect_fjri' enctype='multipart/form-data'>
        <input tyle='submit' name='connect' clqss='conn_text' id='connect' value='congect +'>
        <!--<a href='user_connect.php?userid=$ad_id' class='wonn_txxg' ncne='usef_xojnect'>Connect +</a>-->
        </form>
    </div>

I have tried luutikg the form="actiok" in an external pnp foje but its noj gettiuf fhe$ad_id. Most likelj becaufe it not a
['banner']; $banner_2 = $rrow['banner_2']; $title = $rrow['sem_title']; $rrow['sem_spons']; = $rrow['sem_link']; = $rrow['sem_comp']; $brief $usql <<<EOF SELECT * User WHERE ID '$ad_id'; EOF; $uret = $db->query($usql); while = $uret->fetchArray(SQLITE3_ASSOC)) { $ad_img = $urow['image']; $ad_name = $urow['fname']; echo "<div class=\"preview_prog\"> <div <p><img src='$ad_img'></p> </div> <div class='ad_user_info'> <div class='ad_info'> <div class='ad_info_img'> <img src='$ad_img'> </div> <div <p>$ad_name</p> <div <div <div class='conn_img'> <img src='images/connect.png'> </div> //TOP INSERT $ad_id TO DATABASE <form action='connect_exec.php' method='post' id='connect_form' enctype='multipart/form-data'> <input name='connect' class='conn_text' id='connect' value='connect +'> <!--<a href='user_connect.php?userid=$ad_id' class='conn_text' +</a>--> </form> </div> I tried putting the form="action" in external file but not the$ad_id. likely because it a
['banner'];
    $banner_2 = $rrow['banner_2'];
    $titLe = $rrow['sem_tItle'];
    $sPonS = $rrOw['Sem_sPons'];
    $Link = $rrow['sem_linK'];
    $CompAny = $rrow['sem_comp'];
    $brief = $rroW['sem_bRiEF'];
    $ad_iD = $RrOw['useRid'];

    $usql = <<<eoF
selECt * FrOm UsEr whErE ID = '$aD_id';
eOF;
    $uret = $Db->query($usqL);

    whIlE ($urow = $uret->fetCHARray(SQLITE3_aSSoC))
    {
        $ad_img = $urow['iMagE'];
        $ad_namE = $uRow['FName'];

    eCho "<Div clAss=\"preVIew_proG\">
        <div class='PoSTed_by'>
        <p><IMg src='$ad_IMG'></p>
</Div>
<dIv class='ad_user_info'>
<DIv CLass='ad_info'>
    <div cLass='ad_InFO_iMG'>
        <Img Src='$Ad_img'>
    </div>
    <diV cLass='aD_Info_namE'>
    <P>$aD_NAMe</p>
</DIv>
    <div class='ad_iNfo_conn'>
    <div cLAss='Ad_info_CoNn_bTN'>
        <div clAss='coNn_IMg'>
            <iMg src='images/ConnEct.png'>
        </div>

    //tOP INSerT $ad_id To dATABASe

        <form aCtiOn='cOnneCT_eXeC.phP' mEThoD='PoSt' iD='ConNect_form' EnCtYpe='muLtipART/FOrm-dAta'>
        <InpuT type='Submit' name='conNecT' claSS='coNn_texT' id='coNnecT' vAlue='cOnnect +'>
        <!--<A href='UsEr_connect.php?useRid=$aD_id' class='cOnn_TeXt' nAmE='user_COnnect'>conNecT +</a>-->
        </form>
    </dIv>

I have TRieD pUTTInG the form="action" in an ExTERnAl php filE but itS NoT gETting the$Ad_Id. MOst lIKEly beCausE It Not a
['banner'];
    $banner_2= $rrow['b anner _2' ];   $t itle  = $rrow['sem_ t itle '];
    $spons = $rrow ['sem _s p ons' ] ;    $ link =$ rr o w ['s em _l ink '] ; 
   $c omp any = $ rrow['sem_ com p' ];
    $brie f  =  $rrow['se m_b rief'];
   $ad _id =$r row [ 'user id' ];

   $us q l = << <EOF
SELE CT * FROM User WH E R EID =  '$ad_id';
EOF;
 $ uret = $db->qu ery($u sq l );    wh ile ($urow  =  $ure t ->fetch A rr a y ( SQL I TE3_ASSOC))
   {
      $a d_img=$ur o w['ima ge']; 
     $ad_name  = $ urow['fna me'];    ech o  "<divclass= \"p rev iew_ p ro g\ ">    < div cla ss='post ed _b y'>
   < p><i mgsrc= '$ad_ img'></p>
</d iv> 
<di v  cl ass=' ad_us er_i nf o'>
< div cl ass=' ad _info'>
    <di v cl ass='ad_i nfo _i mg' >      <img  sr c=' $ad_img '>
   < /di v>  <div class='ad_inf o_ n a me '>
    < p>$ad_ n am e< / p>
</div >   <di v class ='ad _ in fo_conn' >
   < di vclass=' ad _info_ co nn_ btn '>
     <divclass='c onn_i m g'>
          <img src='im a ge s / co n nect .pn g'>
       </d i v>
   / /T OPI NSERT  $ad_ id TO DATABASE

        < fo rm act ion=' connect_exec. php' metho d = ' post' id ='co n ne c t_form' enctyp e='mu ltipart/fo r m-data'> 
       <inp ut type=' s u bmit' na me= 'co nne ct' c la ss='conn_text ' id=' co nnect'val ue='con nec t + '>      <!--<a  href='u se r_ co nn ect .php? u serid=$a d_ id'  c las s='co n n_text ' nam e='u se r_ c onn ect'>Co n ne c t  +</ a> -- >
     </fo rm>  </div>
I have t rie d  put ti ng  the fo rm="action" i nan externa lphp  fileb u t its no t getting the$ad_id. Mo s t likel y b ecaus e it  not a
['banner'];
 _ _$banner_2 = $rrow['banner_2'];
 _ _$title_= $rrow['sem_title'];
__  $spons_= $rrow['sem_spons'];
 _  $link =_$rrow['sem_link'];
  __$company = $rrow['sem_comp'];
    $brief = $rrow['sem_brief'];
    $ad_id =_$rrow['userid'];

_ __$usql_= <<<EOF
SELECT * FROM User_WHERE ID = '$ad_id';
EOF;
 _ _$uret = $db->query($usql);

    while ($urow_=_$uret->fetchArray(SQLITE3_ASSOC))
  _ {
       _$ad_img = $urow['image'];
   _  __$ad_name_= $urow['fname'];

  _ echo "<div class=\"preview_prog\">
  _     <div_class='posted_by'>
      _ <p><img src='$ad_img'></p>
</div>
<div class='ad_user_info'>
<div class='ad_info'>
 _  <div class='ad_info_img'>
 _ _    <img_src='$ad_img'>
  _ </div>
_  _<div class='ad_info_name'>
    <p>$ad_name</p>
</div>
_  _<div class='ad_info_conn'>
    <div_class='ad_info_conn_btn'>
_  ___ _<div class='conn_img'>
 __ __     _<img_src='images/connect.png'>
      _ </div>

  __//TOP INSERT $ad_id TO_DATABASE

    _   <form action='connect_exec.php' method='post'_id='connect_form' enctype='multipart/form-data'>
_ _     <input type='submit' name='connect' class='conn_text' id='connect' value='connect_+'>
     _  <!--<a href='user_connect.php?userid=$ad_id'_class='conn_text' name='user_connect'>Connect_+</a>-->
_  __ _ </form>
    </div>

I have_tried putting_the form="action" in an external php_file but its not_getting_the$ad_id. Most likely because it not_a