- Upvotes Received
- 6
- Posts with Upvotes
- 5
- Upvoting Members
- 4
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
10 Posted Topics
Hey, I'm having a problem executing the following code: [CODE] <?php session_start(); require('connect.php'); if($_POST['username'])){ $name=$_POST['username']; $checkUsername = mysql_query("select * from users where UserName='$name'"); if(mysql_num_rows($checkUsername){ echo 'Logged in successfully!'; $_SESSION['username'] = $name; } else{ echo 'The username or password you've entered is not valid!'; } } ?> [/CODE]
Hello, I've been trying to solve this problem that has faced me many times on my website.. I have written a forum program. It works perfectly. However, sometimes a user tells me that he tried to post his comment, but his comment didn't appear on the page, and that he …
[QUOTE=Hani1991;1630546]Now this is completely offensive to Muslims and Christians. I wouldn't speak about the Holy Qur'an or the Holy Bible like that. Given the fact that you just say something is bad doesn't mean that this very thing is bad.[/QUOTE] Thank you Hani1991. I believe you're completely true in every …
Hello everybody I'm working on MySQL I always have to use the Count function like this: [CODE]$Q = mysql_query("Select count() from tableA",$connection);[/CODE] How can I handle this query? How can I handle the number returned by this query?? Thanks.
Hello.. I searched the forum for a thread that explains how to rename your username, but I couldn't find any.. How can I assign a new name to my membership here? Thank you.
I don't think there's much to do more than copy the files into the root folder of your local server.. For example (www)
Hello people.. I have written a code that replaces IMG tags in a text with the HTML <img tag.. However, I faced a problem; Big images spoiled the layout of the page being viewed. Is there anyway to limit the size of the image only when it's more than 300 …
I think you can post your request in the ASP.NET section, Pro2000
Good evening or morning everyone.. Is there any way to understand this: $array = ('element 1','element 2','element 3'); while($x=each($array)){ echo $x['key'].' Value:'.$x['value']; } I mean where did the 'key' and 'value' come from although they're not defined in the file at all??
The End.
Paaat