Recent content by andylpsx

  1. A

    Problem..

    This is old and probably answered but I helped you with a similar problem a while ago. Use PHP, Try something like: <?php echo "<img src='http://www.example.com/ads>ad=" . $fourteen . "'>"; Assuming your query is correct this will pull the value of $fourteen as defined by your query. without...
  2. A

    Help with this? It is confusing to me...

    Did that work for you?
  3. A

    Help with this? It is confusing to me...

    Since this is PHP HTML doesn't render the code in and instead your URL would be http://www.example.com/e?e=$row->user try using something like: <?php echo "<img src='htttp://www.example.com/e?e=" . $row->Users . "' >"; ?> Tell me if this works.
  4. A

    Session not working across pages

    I've since got sessions to work. I totally forgot I posted here. I was checking my email and saw I got a reply. I figured out that cookies are terrible, most for a security reason. I was able to change status and logged in status of anything I wanted to. Though it would take a while for someone...
  5. 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...
  6. A

    PHP optional query building

    This work flawlessly but can you explain or send me a doc on how this works: foreach( $_POST as $k => $v ){ I ran it and it works but I want to know why and how, if you don't mind. EDIT: I am having a problem when trying to query the database I get this error: Fatal error: Uncaught...
  7. 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...
  8. A

    PHP optional query building

    Yes, a form that will query the database and the database has around 50 to 75 fields. We are not usually looking for one specific person but for multiple people that meet certain criteria.
  9. 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...
  10. 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...
  11. 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...
  12. A

    Problem checking Condition [PHP]

    Do I just have to add the $query->execute(); because I tried that and also executing with a parameter to be passed and changing :email to ? but both still will not output a working response. EDIT: I got it working, just had fname in caps which broke it. Thank you for your help!
  13. 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...
  14. 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...
  15. A

    Review My Social Network

    The site looks pretty good, the green is pretty vibrant and may look a little better with some gradients added to it so it isn't just one color. I would see if you could do a little work on the logo since the logo is one of the first feature that people see when connecting to your website. More...
Top