Can you post the code?
Type: Posts; User: xtiano77; Keyword(s):
Can you post the code?
Is this what you are looking for?
$query = "SELECT
I read the post and hit "Q-Reply" and it took me to the box in the bottom so I missed yesterday's reply. Thanks for calling me out like that, very polite of you.
Your SQL statement is missing the password parameter:
"SELECT DISTINCT `username`,`password` FROM `log` WHERE `username`='$username'"
It should read something like this:
You can refer to the parent window by using "top" or "parent" for example:
window.top.location.href = "http://www.newlocationhere.com";...
Hello! I have been trying to wrap my head around Java for some time now. Maybe the reason for the amount of time it has taken me is because I am doing it on a part time basis. That said, I would like...
Has anyone heard anything new about the parameter type hinting and when, if at all, is PHP going to implement it?
This is an example similar to what I use on my web site and it works for me.
I use a "switch" statement inside the function because I like to use a diferent
database for each category.
Could anyone share the name of a good book on PHP Security? Would the same book and or concepts apply to another language, i.e. Python? Thanks in advance for your help.
Hope you folks don't mind entertaining a quick question. How could I clear a form text input field so it won't remember text typed by previous users. I want to add that this seems to happen only in...
I am sure that many of us will be happy to help you, but I think it would easier if you post your code.
A text editor like the one in Ubuntu Linux comes pretty handy. It displays the variables, functions, etc., in different color, which needless to say it is pretty helpful.
I am trying to make a form that will show the contents of all uploaded files. Now, I have tried the stat( ) using numeric and relational indexes, but for some reason continues to display the...
Thanks for your time. I'll continue to check to see if you found it. Thanks again!
I am thinking about opening a small web development business, however, before I do that, I would like to know if any of you guys could tell me if there is a price guide per page, project, etc. ...
Hopefully a quick question about the session_cache_expire( ) function. If I understand correctly, If I set the session_cache_expire(20), does this means that twenty minutes afterwards the session...
I think I got the hand of it. I just tried 5 quick pages with a logout at the end and it did not let me view the previous pages. Thanks a bunch!
Do I have to set the cookie myself or does the session_start( ) automatically creates it for me?
If your table doesn't have too many columns, you might want to try changing your SQL query and use "DISTINCT" instead of "*". Hope this helps.
I tried placing the first and second sections of code, but I still able to view the pages after clicking on the back button. I also tried the refresh button, but it still showed me the pages. Npw,...
I am trying to set up a page using "sessions", but after I logout of the site, I click the back button and it still lets me into the previous pages although the logout page was supposed to unset the...
I am looking for a good web hosting site, with good customer service, that hosts PHP and Java. Thanks in advance for your suggestions.
Not really, I just wanted to confirm while at the same time make sure it was not going to affect any scripts in the future. Thanks for your reply.