Jump to content

Search the Community

Showing results for tags 'post'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • The Web Designer Forum Community
    • Web Designer Forum News
    • Web Designer Forum Introductions
    • General Chat
    • Design Competitions
  • Web Design Resource
    • Website Design and Layout
    • Website Reviews and Feedback
    • Other Resources
    • Graphic Design Forum
  • Web Development
    • Frontend
    • Server Side
    • Content Management Systems (CMS)
  • SEO, Website Marketing and Business
    • Social Media
    • Freelancing, Business and Legal Discussion
    • SEO (Search Engine Optimisation) & Search Engines
    • Website Management
  • Software & Hardware
    • Web Browsers
    • Web Design Scripts & Software
    • Web Development Scripts & Software
    • Hardware
  • The Marketplace

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


MSN


Website URL


Skype


Location


Interests

Found 10 results

  1. altssolution

    Facebook Post reach

    My facebook page have 596 likes, unfortunately when i add a new photo or post it's only reach approximately 30-40 views all likes are organic, images and post are good and readable anyone please suggest me how to overcome this situation without promotion using paid
  2. i need so many post to be displayed on home page as shown in image..Iam using wordpress.iam using education hub theme of wordpress.Do i need to use any plugin?
  3. I'd like to earn some money writing guest posts, let's make a list of places where you can add your articles about WordPress. Any ideas?
  4. $_POST can't be seen in the second part of login (after the registration part) in one-page authorization. index.php <!DOCTYPE html> <html> <h1>Register</h1> <form method="POST"> <input type="text" name="user"><br /><br /> <input type="pass" name="pass"><br /><br /> <input type="submit" name="ok1"><br /> </form> <?php session_start(); if(isset($_POST['user'], $_POST['pass'])){ require 'connection.php'; $zr++; $query = d()->prepare("INSERT INTO u (user, pass, loc) VALUES (:user, :pass, :loc)"); $query->bindParam(':user', $_POST['user']); $query->bindParam(':pass', $_POST['pass']); $query->bindParam(':loc', $zr); if($query->execute()){ $_SESSION['user'] = $row['user']; $_SESSION['pass'] = $row['pass']; header("Location: ".$_SERVER['PHP_SELF']); exit(); } else{ echo 'ERROR'; } } ?> <h1>Login</h1> <form method="POST"> <input type="text" name="user"><br /><br /> <input type="pass" name="pass"><br /><br /> <input type="submit" name="ok2"><br /> </form> <?php if(isset($_POST['user'], $_POST['pass'], $_POST['ok2'])){ require 'connection.php'; $query = d()->prepare("SELECT user, pass FROM u WHERE user=:user AND pass=:pass"); $query->bindParam(':user', $_POST['user']); $query->bindParam(':pass', $_POST['pass']); $query->execute(); if($row = $query->fetch()){ $_SESSION['user'] = $row['user']; $_SESSION['pass'] = $row['pass']; header("Location: ".$_SERVER['PHP_SELF']); exit(); } echo $_POST['user']; $us=$_SESSION['user']; echo 'user ',$us; } ?> <?php if(isset($_SESSION['user'])){ $us=$_SESSION['user']; echo '<br /> user ',$us, ' ', '<a href="logout.php">Logout</a>'; echo '<br />', '<a href="zrs.php">zero session</a>'; } else { echo '<br /> <a href="register.php">Register</a>'; } ?> </html> connection.php <?php function d(){ try{ $db = new pdo("mysql:host=localhost;dbname=tx;","root","hyuiuik"); $db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); return $db; } catch(PDOException $e){ echo 'ERROR', $e->getMessage(); } } ?> I was advised to put echo $_POST['user'] inside isset () check because of an error: That advice wasn't helpful at all. And I've returned back the echo $_POST['user'] - to see error and think of it again. I also assigned a submit button a name "ok1" and "ok2". The second submit is checked again for pressing after the second form. So the $_POST doesn't show up while the $_SESSION is ok (as the data adds to MySQL). Help me with the login+registration page please! (because I feel abashed when many files around in OS). I want to operate $_POST and $_SESSION for my the simplest game in JS. _ thanks in advance to all of you and bless you goodness!
  5. Hi, So i am building my website using wordpress with a theme. So i want to move posts so they do not appear in the homepage but to a different page like http://www.url.com/blog. So when someone is clicking http://www.url.com to appear just the hopepage. I tried to rename the default page where posts appears to "blog" and create another page named "home" but all the layout of the default homepage disappears, no slider no nothing. Can you help me please? Thanks in advance!
  6. Ok guys please help, all the other boxes post to the database except $proddesc: saveproduct.php <?php include("db.php"); $servicecentre=$_POST['servicecentre']; $ponumber=$_POST['ponumber']; $prodcode=$_POST['productcode']; $proddesc=$_POST['productdescription']; $price=$_POST['price']; $qty=$_POST['quantity']; $total=$_POST['total']; mysql_query("INSERT INTO purchaseorder (servicecentre,ponumber,productcode,productdescription,price,quantity,total) VALUES ('$servicecentre','$ponumber','$prodcode','$proddesc','$price','$qty','$total')"); header("location: tableedit.php#page=addpro"); ?> and the HTML: <div class="content" id="addpro"> <form style="text-align:right"action="saveproduct.php" method="post"> <div style="width:400px; text-align:right"> <div style="margin-left: 48px;"> Service Centre: <input name="servicecentre" type="text" /> </div> <br /> <div style="margin-left: 97px;"> PO Number: <input name="ponumber" type="text" /> </div> <br /> <div style="margin-left: 80px;"> Product Code: <input name="productcode" type="text" /> </div> <br /> <div style="margin-left: 80px;"> Product Description: <input name="proddesc" type="text" /> </div> <br /> <div style="margin-left: 80px;"> Price: £<input name="price" type="text" /> </div> <br /> <div style="margin-left: 80px;"> Quantity: <input name="quantity" type="text" /> </div> <br /> <div style="margin-left: 80px;"> Total: £<input name="total" type="text" /> </div> <div style="margin-left: 127px; margin-top: 14px;"><input name="" type="submit" value="Add" /></div> </div> </form> </div> Thanks In advanced
  7. Hello. Is it possible to have blog posts separated over different pages? For example a page called "cars" and all the posts about cars are shown on that page then another page called "bikes" and all the "bike" posts are shown on that page? Thanks
  8. Hey, im working on with website where you can watch funny videos, and then i want to make a login with facebook, and then get permission to make a post, so when a user watch a video i want to post a link to the same video! How can i do this?! BTW my website is in php, so i would like to have it using the facebook php sdk?
  9. louise88

    blog post image

    Hi I am not sure how to do this and need help on a website, I use wordpress and I want to have a image at the top of my blog pages and when you click onto read full story like i have on my static pages atm but I have no idea or where to start on getting a fixed image at the top of all my blog posts any tips or help will be great thank you the url is www.seotest4.co.uk
  10. The title pretty much sums it up: I need the following form to be posted WITHOUT the page scrolling back to the top. I suppose I need some ajax/jquery, but I've never really worked with either, so I need some help! <form method="post" action="" class="kat" name="kat"> <select class="search2" name="kategori_id" id="kat"> <option selected>Anbefal til...</option> <option value="$cat[id]" id="$cat[id]">$cat[kategori] ($assigns)</option> // some PHP-code has been removed... </select> <input type="hidden" name="sang_id" value="<?php echo $id; ?>"> <input type="submit" class="button" name="kat" value="Anbefal" /> </form> <?php $ip=$_SERVER['REMOTE_ADDR']; if($_POST['kat']){ $kid = ($_POST['kategori_id']); $sid = ($_POST['sang_id']); $ip_sql=mysql_query("select ip_add from assign_kat where sang_id ='$sid' and ip_add='$ip'"); $count=mysql_num_rows($ip_sql); if($count==0) { $insert_news = mysql_query("INSERT INTO assign_kat (kat_id, sang_id, ip_add) VALUES ('$kid', '$sid', '$ip')")or die(mysql_error()); } if($count!=0) { $sql = "UPDATE assign_kat SET kat_id = '$kid' WHERE sang_id='$sid' and ip_add='$ip'"; mysql_query( $sql); } } ?>
×