dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: stokie-ruch

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    11
    Views
    881

    right ok thanks for that I will have a look

    right ok thanks for that I will have a look
  2. Replies
    11
    Views
    881

    I have put some code into the quiz code this is...

    I have put some code into the quiz code this is how it looks at the moment:


    <?php
    //Connect with mysql
    $db = new mysqli("127.0.0.1", "root", "", "quiz");

    //Perform the query to choose...
  3. Replies
    11
    Views
    881

    Hey thanks for that and sorry for the late...

    Hey thanks for that and sorry for the late replay. When I run the page its now displaying

    output debug info here

    Sorry to sound like a tit! But how do I put debug info there?
  4. Replies
    11
    Views
    881

    hey ahh right ok thanks for that..... sorry to...

    hey ahh right ok thanks for that..... sorry to sound like an idiot but how on earth do I add error checking then to it?
  5. Replies
    24
    Views
    1,211

    This is where I make the connection in my code ...

    This is where I make the connection in my code


    require('connection_db.php');

    This is the connection code (please note that it works when I register a user)


    <?php
    mysql_connect...
  6. Replies
    11
    Views
    881

    I have managed to find the code from the quiz...

    I have managed to find the code from the quiz that I created a few months ago (from the website that I mentioned in the first post)

    below is the code


    <?php
    //Connect with mysql
    $db = new...
  7. Replies
    24
    Views
    1,211

    right ok so how on earth do i do that then? as my...

    right ok so how on earth do i do that then? as my register script works perfect, I have added quite a few "test" users so far and it works perfect so does the connection file
  8. Replies
    11
    Views
    881

    How to make a simple PHP with SQL quiz

    Morning people hope you're all well. I really need some advice from yourselfs. As you might know I'm in the middle of creating my own website. The site will let users register and to log in.

    I...
  9. Replies
    24
    Views
    1,211

    I will give it ago. I have defined the connection...

    I will give it ago. I have defined the connection to the database in another file that I have called

    require('connection_db.php'); I will let you know what comes of it
  10. Replies
    24
    Views
    1,211

    sorry again for this!! When I now try and log...

    sorry again for this!!

    When I now try and log in with a test username and password I'm now getting the following error

    Notice: Undefined variable: sql in C:\xampp\htdocs\login.php on line 39...
  11. Replies
    24
    Views
    1,211

    Please ignore what I have just said!! it works...

    Please ignore what I have just said!! it works whoooohoooo!! I didnt copy and past your suggestion and now it works thank you soo much
  12. Replies
    24
    Views
    1,211

    Hey I have done what you suggested and still...

    Hey I have done what you suggested and still getting the following :(

    Parse error: syntax error, unexpected end of file, expecting variable (T_VARIABLE) or heredoc end (T_END_HEREDOC) or ${...
  13. Replies
    24
    Views
    1,211

    I'm using the following $form =

    I'm using the following


    $form =<<<EOT

    I'm still getting the following


    Parse error: syntax error, unexpected end of file, expecting variable (T_VARIABLE) or heredoc end (T_END_HEREDOC)...
  14. Replies
    24
    Views
    1,211

    I want to echo out the form but also want the...

    I want to echo out the form but also want the form to work where the user fills in the info and they can log into the website
  15. Replies
    24
    Views
    1,211

    I've changed the code and this is how it looks...

    I've changed the code and this is how it looks now


    <!DOCTYPE html>
    <html>
    <head>
    <title>Richard Hemmings </title>
    <meta name="viewpoint" content="width=device-width,...
  16. Replies
    24
    Views
    1,211

    thanks for that I'm getting the same eorror as i...

    thanks for that I'm getting the same eorror as i did when I created my register page, this is the error now

    Parse error: syntax error, unexpected 'action' (T_STRING), expecting ',' or ';' in...
  17. Replies
    24
    Views
    1,211

    I've done what you suggested and this is the code...

    I've done what you suggested and this is the code now


    <?php
    include('inc/header.php');
    require('connection_db.php');
    if (isset($_POST['submit'])){
    $uname =...
  18. Replies
    24
    Views
    1,211

    login page script issues

    Hi guys, creating a log in script so my users can login to my website.

    This is the code so far


    <!DOCTYPE html>
    <html>
    <head>
    <title>Richard Hemmings </title>
    <meta...
  19. Replies
    4
    Views
    425

    Someone else has said this and I have used mysqli...

    Someone else has said this and I have used mysqli but for the life of me I cant remember how I did this
  20. Replies
    4
    Views
    425

    I have made some changes and this is how the code...

    I have made some changes and this is how the code looks now


    <!DOCTYPE html>
    <html>
    <head>
    <title>Richard Hemmings </title>
    <meta name="viewpoint"...
  21. Replies
    4
    Views
    425

    data not been inserted into database

    Hi guys, I'm creating a register page for my website. I have got things sorted now, when i try and test the page and try and register a user the data is not been inserted into the database

    I'm not...
  22. Replies
    5
    Views
    718

    I've moved on a little on the video tutorial this...

    I've moved on a little on the video tutorial this is now the code...




    <!DOCTYPE html>
    <html>
    <head>
    <title>Richard Hemmings </title>
    <meta name="viewpoint"...
  23. thanks for the tip still isn't showing the form....

    thanks for the tip still isn't showing the form. I dont know where I'm going wrong. I#m using dreamweaver I pay 20.00 a month this website is a portfolio to help me to get a graduate job
  24. Thanks for that I have revised my code but now...

    Thanks for that I have revised my code but now when I try and run the page the form does not show and I cant get my head around as to this is the case?



    <!DOCTYPE html>
    <html>
    <head>
    ...
  25. Replies
    2
    Views
    403

    register form not showing

    hey guys I have manafed to sort out the issue out with the PHP from an earier post that I posted earlier today but now, when I run the page on my local host, the form does not show at all. Can anyone...
Results 1 to 25 of 73
Page 1 of 3 1 2 3
HTML5 Development Center



Recent Articles