www.webdeveloper.com

Search:

Type: Posts; User: ralston3

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. P.S. (i'd like the action of the form to be the...

    P.S. (i'd like the action of the form to be the php page the form is already on)
  2. How to properly submit for with ajax but without jquery

    First off, let me say that I've 'never' asked for code on a forum, but I've all but waved the white flag for this one. I'm trying to submit a form without a page refresh. I've tried writing my jquery...
  3. Replies
    6
    Views
    959

    What Is Loading in the background?

    So whenever I navigate through my web app, sometimes the pages take a while to load (using google chrome). When I click a link, I get the new url in the browser, but the page is blank. However, when...
  4. Replies
    8
    Views
    1,429

    How to Go "Live/Public" With Website?

    So I've built a PHP based web application and I'm trying to make the blog available for people to follow online. I have the VPS, the domain, the files, the whole 9. What I need to know is, how do I...
  5. Replies
    3
    Views
    1,087

    Thanks for that deathshadow, I've got it working...

    Thanks for that deathshadow, I've got it working now. But while I have you..can you tell me why this ajax function refreshes the page instead of no page refresh?

    Function to be called when img is...
  6. Replies
    3
    Views
    1,087

    Query inserting twice.

    I've been trying to figure out why the queries on liked_button.php are entering twice for about 24 hrs now with no luck.

    I have a liked button that users can click, when that button is clicked,...
  7. jQuery How to send value to a PHP page using Jquery & AJax

    The input I'm trying to get the value of is:

    <input type='hidden' name='hidden_image' class='hidden_image'>
    This is the Jquery I have so far:

    var image_value =...
  8. Replies
    10
    Views
    1,397

    And the result of the vardump produces the info...

    And the result of the vardump produces the info as a 'link'.
  9. Replies
    10
    Views
    1,397

    that's fine. was just trying to show the relevant...

    that's fine. was just trying to show the relevant part but I can paste the whole index.php here:


    <!doctype html>

    <?php

    error_reporting(E_ALL); ini_set('display_errors', 1);...
  10. Replies
    10
    Views
    1,397

    Yea I did a vardump($image_info) and the...

    Yea I did a
    vardump($image_info) and the value turned out to be exactly what I want it to be. I just need to "GET" the value of that input field now.
  11. Replies
    10
    Views
    1,397

    Actually, I just checked in my actual index.php...

    Actually, I just checked in my actual index.php page, and the method="GET", so I must've just mistakenly typed it in my post wrong. Still need to figure out why "GET" wont work.
  12. Replies
    10
    Views
    1,397

    just one of those things that slips by you when...

    just one of those things that slips by you when you've been working on the same thing all day I guess. Cheers!
  13. Replies
    10
    Views
    1,397

    When I click the submit button for that form,...

    When I click the submit button for that form, this is what shows up in my URL:

    ...
  14. Replies
    10
    Views
    1,397

    edited code for that index.php:

    edited code for that index.php:


    <form action='liked_button.php' action='GET'>
    <input type='hidden' class='hidden_image' name='hidden_image' value='<?php echo $image_info; ?>' >
  15. Replies
    10
    Views
    1,397

    Getting the value of a hidden input with PHP

    Here is my input on the index.php page:


    <form action='liked_button.php' action='GET'>
    <input type='hidden' class='hidden_image' name='hidden_image' value='<?php echo $image_info; ?>'...
  16. Like button only works for one single post

    So I'm trying to implement a like button for users' posts. I've got the button working so that when clicked, the number of likes goes up by one, and the like button image changes with ajax. The...
  17. Replies
    1
    Views
    699

    Implementing a Like Button

    So I'm trying to implement a like button for images on my site. But I'm having a little trouble figuring out how it goes.

    So far, I have this on the SQLI side of things :

    CREATE TABLE if not...
  18. scratch that, figured it out. Thanks for all the...

    scratch that, figured it out. Thanks for all the help btw
  19. Touched your suggestion up to fit and it works...

    Touched your suggestion up to fit and it works great. Now it displays them all but in order from oldest to newest (when going from top to bottom). I'm trying to get the reverse, newest to oldest...
  20. @gineerjm I actually figured out the problem and...

    @gineerjm I actually figured out the problem and corrected it with this :


    </head>
    <body>

    <div id="contentWrapper">

    <?php
  21. Can't seem to display image from folder on server

    So I'm trying to display images that users upload on the home page. However, while the other info (description, title, username, date variables) shows up fine, the image will not show up for some...
  22. Replies
    6
    Views
    623

    nevermind.figured it out.Thanks again for the...

    nevermind.figured it out.Thanks again for the help @deathshadow
  23. Replies
    6
    Views
    623

    Thanks for that, worked great! Everything was...

    Thanks for that, worked great! Everything was updated to the database. However, the image_id wasn't sent to the 'photos' folder on the server, where I'd like to store my images for recall later. Any...
  24. Replies
    6
    Views
    623

    here is the submitted form:

    here is the submitted form:


    <form action="posts_check.php" method="POST" name="posts_form" id="posts_form" onSubmit="return validateFrom()" enctype="multipart/form-data">
    ...
  25. Replies
    6
    Views
    623

    Sorry, idk why this thing cut part of my code...

    Sorry, idk why this thing cut part of my code out, here's the rest of it...



    $username = 'ralston3';
    $description = $_POST['description'];
    $image_name = @$_FILES['image']['name'];...
Results 1 to 25 of 42
Page 1 of 2 1 2
HTML5 Development Center



Recent Articles