Hi all this is my first post so please guy's bear with me. I have a platform I developed long before I was aware of Angularjs it's MVC of sorts before I knew what MVC was :) So how it works is users populate their account page with images, links and text this is then stored in MySQL a QR Code is scanned and a template shows a webapp type page on mobile. All content is dynamic and can be changed on the fly and its all done in PhP and html5 :(
I realise now that the landing page/web app could be better structured using Angularjs. My question is how can I convert my php to angular an example of a function below case "him_facebook": echo "<br>"; if($type == "Facebook"){ $sql1 = $wpdb->get_results("SELECT * FROM `him_form_fields` WHERE `form_id` = '$form_id' AND `inputtype` = '$type' ORDER BY `orderby` ASC ", ARRAY_A); foreach($sql1 as $row1) { $website = get_field_value($serialno,$form_id,$row1['systemname']); if(!empty($website)){ echo '<div class="boxContent"><a href="'.$website.'" target="_blank" id="pearl_per_facebook_a"><img src="images/facebook.png" class="landlogo"><span>Facebook</span></a><input type="hidden" name="facebook[]"'.$website.'"></div>'; } } } break; Any help would be greatly appreciated. Paul -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.