Search results

  1. A

    Session not working across pages

    By default the page after login.php is authorize.php which just checks the information then sends it off to index.php. From index.php I cannot get to my page 'volunForm.php', it just redirects me back to the login page. This is my first ever login system and my first time using sessions. Am I...
  2. A

    Adding to data base

    So I have a website that will upload a volunteer html form to our php database, I have most of the PHP working but a few main parts. Part1: PDOStatement::execute(): SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens in...
  3. A

    PHP optional query building

    I am currently working on an online website which houses a database inside that has 50-75 fields. I have what I believe may be a somewhat rudimentary question. Assuming we want to query the Database how would one go about making it so it builds a query statement using the fields that are not...
  4. A

    What is the best way to do this: In and Out Systen

    I am working on a system that will allow people to assign a status to themselves, either In (in the office) or out ( out of the office and a brief description of when they'll be back and what their doing). We currently have a Asp.net version that is really old and out dated and we wanted to...
  5. A

    [Help] working with an API for the first time

    I know what an API is and what they are used for and for an upcoming project I need to use one but I have been scouring the internet for weeks now with nothing to show. The basic idea for the project is as follows: We have a website through our company that allows people to be annual...
  6. A

    Problem checking Condition [PHP]

    Over the past month I have been working on a certificate generation system and one part I have still yet to get working is the part that probably is one of the easier parts. All I need to do is check the email that someone enters against the email of the one in the database, and if that email...
  7. A

    [Question] Log in page's with Pdo

    I have been searching the internet for the last week for a tutorial that goes over how to make a registration and login system using PDO and Blowfish crypt methods. I have got to the point where I can crypt my passwords and store them in the database along with the username but the parts that I...
  8. A

    PHP Database Search

    So I am still learning PHP and PDO and I am trying to compare a name that was wrote in a text box to what I have in my database. I tried with a query but the problem was when it found a matching first name in the database it would print it out regardless of if the last name and first name were...
  9. A

    Don't know the official name, dispersing comments upon multiple pages

    So I have a guest book page which allows users to add comments to my page. I want to display the 50 newest comments which would be With ID's ordered by DESC. I got that much done but if I have 51 comments I want that one oldest one to be on a new page with a little number or arrow at the bottom...
  10. A

    Help inserting Current date into Database

    I know this is probably something very easy for most of you but I am learning PHP/PDO and trying to get a simple guest book working. The problem I am having is that I am not getting my date to insert into the database as I want it too. Basically it is just an html form that has name and a...
  11. A

    Displaying WordPress titles on home page (not a WordPress page)

    I built a website using basic html, JavaScript and Jquery and wanted to add my recent blog posts to the home page without having to manually editing the source code. I am working with a test php page that I have gotten to work with displaying the titles but I don't want to display EVERY title...
Top