dynamic title,meta keywords and description.. manually i created one page in that i add some title,keywords and descriptions based on category(i.e like home,about us,contact us etc)in backend, and i have some pages like home.php,aboutus.php etc in front end. so if i click home(home.php) that title should display which i entered for category home same like i have to display in every page based on category. how to do index.php if(isset($_POST['submit'])) { $catagory = $_POST['catagory']; $title = trim(ucwords(strtolower(mysql_real_escape_string($_POST['title'])))); $description = mysql_real_escape_string($_POST['description']); $keywords = mysql_real_escape_string($_POST['keywords']); $sql = mysql_query("INSERT INTO `seo_title`(Catagory,`title`,`description`,`keywords`) VALUES ('$catagory','$title','$description','$keywords')"); if($sql) { echo '<script>alert("Inserted Successfully"); window.location="seo_title.php";</script>'; } } my input …

Member Avatar
+0 forum 0

Well, I am new here and i would be thank full of yours, please make a discussion for How do eclickz drive their pay per click advertising service for a business.

Member Avatar
+0 forum 0

I have code that worked before so i copied and pasted into new PDO as I am upgrading my website. It displays all images in one row, even though i have told it after 4th image in row crete new row and sart putting images below the row above. <?php $query = 'SELECT * FROM tblgallery_images '; $stmt = $dbh->prepare($query); $stmt->execute(); $counter = 0; $numberperrow = 4; while($row = $stmt->fetch()) { $name = $row['imagename']; if($counter < $numberperrow) { echo 'image here'; $counter = $counter + 1; }else{ echo '<br>';//NEXT ROW INSERTED $counter = 0; echo 'image here'; } } ?> …

Member Avatar
Member Avatar
+0 forum 4

The End.