You can get only one resultset for a single query, unless you join the tables. I didn't get you point in executing 2 different queries. You can...
A very interesting and useful capability of MySQL is to incorporate Regular Expressions (regex) in SQL queries. The regular expression support in...
Sometimes we require to copy an existing MySQL table to another table, usually we get the SQL dump and execute it to create the new table, but we...
Here is an example code to use Sessions in JSP. <%@ page import="java.util.Enumeration" %> <%! private static final String textname =...
WAR stands for Web ARchive, export your project as WAR file from the IDE you are using for development, and then use the Tomact Manager to deploy...
$sql = mysql_fetch_array($sql); That's the correct syntax, please check the documentation for mysql_fetch_array here.
How and why will it be different?
Can't we write the code like this? using System; class Program { static void Main(string[] args) { int i;...
Really cool Rakish, but this will recurse only 1 level into the directory hierarchy, what if it has more than 1 levels?
You have fetched the resultset into $sql, and then you are trying to match the username using this.. if($sql[username] != $username) { echo...
Check this PHP Hosting Directory
Separate names with a comma.