www.webdeveloper.com

Search:

Type: Posts; User: chicago123

Search: Search took 0.01 seconds.

  1. Thanks for your reply. Yeah, I tried doing your...

    Thanks for your reply.
    Yeah, I tried doing your second suggestion but the code just got really messy. I don't have access to cron jobs on my server. I found a couple free sites that will do cron...
  2. [RESOLVED] How do I reset a column in my database every x days?

    Every x days (every 7 days for example), I would like all the values in a certain column in my MySQL database to reset back to '1'. How do I do this? I don't know how to write a program to do that,...
  3. Thanks a lot! I found the problem - I had double...

    Thanks a lot! I found the problem - I had double quotes instead of single quotes somewhere in the code. Its working now.


    Thanks!
  4. Thanks for your quick reply. I did what you...

    Thanks for your quick reply.
    I did what you suggested which got rid of the syntax error. Nice explanation :)

    Now it says "mysql_fetch_array(): supplied argument is not a valid MySQL result...
  5. [RESOLVED] How do I correct this piece of code?

    I have this piece of code. But I'm getting syntax errors and I'm not sure how to format it correctly. The echo $_SESSION['username'] part is not correct I think.


    //query the database
    $query =...
  6. Replies
    4
    Views
    2,152

    Ok thanks that worked!

    Ok thanks that worked!
  7. Replies
    4
    Views
    2,152

    Thanks for your reply. I tried to echo that...

    Thanks for your reply.
    I tried to echo that element as you said, but the username was not displayed on the page. My only guess to why this is happening is that the username is not saved in...
  8. Replies
    4
    Views
    2,152

    [RESOLVED] Echo username after login

    I'm just a beginner with PHP. I created a PHP login system. Now I want to echo the username to the logged in user on the index.php page.
    Here's the code I have so far. It would be great if someone...
Results 1 to 8 of 8
HTML5 Development Center



Recent Articles