www.webdeveloper.com

Search:

Type: Posts; User: WyattVW

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    1,370

    change the value of action in your form tag to...

    change the value of action in your form tag to the php page you are making and then the mailer is pretty easy, just create a variable for each of the inputs in your form, then its as easy as using...
  2. Replies
    2
    Views
    3,063

    OK, that's what i thought thanks, also they only...

    OK, that's what i thought thanks, also they only all have the same class because i was testing some code and then just got lazy when copying and pasting. as you can see in the CSS i don't actually...
  3. Replies
    2
    Views
    3,063

    drop shadow in shape of image

    I am using an image for the background of my links to make them stand out on the page, i am trying to make a drop shadow appear beneath the image instead of the box containing the link, The image is...
  4. Replies
    2
    Views
    1,473

    neverming i figured it out.

    neverming i figured it out.
  5. Replies
    2
    Views
    1,473

    in that second bit of code the topic_ID in the...

    in that second bit of code the topic_ID in the query should say $post instead of 1, i was testing if i could force it to change, which i can.
  6. Replies
    2
    Views
    1,473

    PHP and MySQL forum

    I am building a forum that displays all of the titles and dates of the topics in 1 page, then after clicking on the name of the post i am trying to send the user to a page that displays the content...
  7. Replies
    11
    Views
    1,635

    i figured it out, i had to change the type of one...

    i figured it out, i had to change the type of one of my fields in the database, accidentally had it set to int instead of varchar.
  8. Replies
    11
    Views
    1,635

    i just realized i was forgetting my error...

    i just realized i was forgetting my error reporting the whole time and that is why i wasn't getting a MySQLi error. thanks.
  9. Replies
    11
    Views
    1,635

    $db->query is not my method its the MySQLi OOP...

    $db->query is not my method its the MySQLi OOP default, i have several insert statements in the project working with the same syntax i'm starting to think it might be an SQL error instead.
  10. Replies
    11
    Views
    1,635

    Thanks for the reply, i tried that and it still...

    Thanks for the reply, i tried that and it still gives me the same error, minus the single quotes in the field names.
  11. Replies
    11
    Views
    1,635

    your looking at the second one i copied the wrong...

    your looking at the second one i copied the wrong code the first time and could not figure out how to edit it, the insert statement is the one that is failing and the error is "
    INSERT failed:...
  12. Replies
    11
    Views
    1,635

    That is not the code, This is the code

    require_once 'header.php';

    if (!$loggedin) die("You must be logged in to view the Forum.");
    $user = $_SESSION['user'];


    if (isset($_POST['submit'])
    ) {
    if (!$result =...
  13. Replies
    11
    Views
    1,635

    Troublesome query statement

    I have been working on a page to insert a message into a forum, i am taking the user_ID from the user submitting the post from my table "users" and that query is working properly and i am able to get...
  14. Replies
    2
    Views
    1,020

    Very helpful thank you.

    Very helpful thank you.
  15. Replies
    2
    Views
    1,020

    Convert to Mysqli

    i am working on a social networking project and i have built the skeleton of my site using mysql functions but i read all over the place online that i should instead be using mysqli or PDO, the...
  16. Replies
    17
    Views
    2,803

    about the password this database is on my...

    about the password this database is on my workstation and its used only for testing, i will have the password field encrypted for the release version, thanks for all the help here.
  17. Replies
    17
    Views
    2,803

    well i managed to get it auto incrementing the ID...

    well i managed to get it auto incrementing the ID field on its own by changing my query statement to this.

    "INSERT INTO users(first_name, last_Name, user_email, mailing_address, user_name,...
  18. Replies
    17
    Views
    2,803

    the $result variable is for checking for the...

    the $result variable is for checking for the updated fields, they display further down on the page, i just declared it at the top so i did not have to write 2 variables to get the number of rows.
    ...
  19. Replies
    17
    Views
    2,803

    Thanks I'm sure that will be immensely helpful.

    Thanks I'm sure that will be immensely helpful.
  20. Replies
    17
    Views
    2,803

    can i get the same effect writing it like this? ...

    can i get the same effect writing it like this?



    require_once 'connect.php';
    $result = mysql_query("SELECT * FROM users");
    $rows = mysql_num_rows($result);
    if (!$result) die ("Database...
  21. Replies
    17
    Views
    2,803

    OK i have it now working, but its all using the...

    OK i have it now working, but its all using the now deprecated mysql_* is there a tutorial or something anyone can share that will help with converting over to PDO? i tried using mysqli_ but for...
  22. Replies
    17
    Views
    2,803

    ok i have never used error checking before where...

    ok i have never used error checking before where do i add this?
  23. Replies
    17
    Views
    2,803

    i assigned the query to a variable to begin with...

    i assigned the query to a variable to begin with but i read online that the mysql_query statement sometimes does not work when passing a variable rather than the inline statement, i changed it to see...
  24. Replies
    17
    Views
    2,803

    PHP MySQL insert statement not working.

    ok here is the problem code
    the output here is the error message i have programmed for when the query doesn't work, i know all of my fields are getting posted and collected by the variables but it...
  25. Replies
    4
    Views
    1,629

    Thank you!!!

    I just cannot believe that one slipped me by.... damn you w3schools they get EVERYTHING wrong
Results 1 to 25 of 26
Page 1 of 2 1 2
HTML5 Development Center



Recent Articles