Planet MySQL Planet MySQL: Meta Deutsch Español Français Italiano 日本語 Русский Português 中文
Showing entries 1 to 4

Displaying posts with tag: example (reset)

Example of a Basic MSSQL Query using PHP
+0 Vote Up -2Vote Down

An example of a basic MSSQL (Microsoft SQL Server/SQL Server Express) query using PHP.

$szQry = "SELECT column1, column2 FROM foo";
$szDBConn = mssql_connect("host","username","password");
mssql_select_db("database_name", $szDBConn);
$saResults = mssql_query($szQry, $szDBConn);
while($obResults = mssql_fetch_row($saResults))
   echo $obResults[0]." ".$obResults[1];

Comments/description of Example

Line #1
SQL statement that will be sent to the MySQL database …
  [Read more...]
The Ultimate Programming Language - LOLCODE
+0 Vote Up -0Vote Down

If you are a programmer, you, by definition, belong to the elite [awesome] human breed called geeks. If you know how to code in Python or Ruby, you might even think you’re pretty hot shit. But none of that compares in hotshitness to what you are about to learn.

Allow me to introduce LOLCODE – perhaps the most serious and, for some, cryptic, programming language. It is Turing-complete and uses an advanced compiler called …

  [Read more...]
PHP Free Chat - Joining Chat Email Notification
+0 Vote Up -0Vote Down

I recently upgraded an install of PHP Free Chat to that latest version of 1.0 Final. However it was still lacking a feature to notify individual(s) that someone has joined the chat if they were not already in the chat application to begin with. I came across a posting explaining how to achieve this in PHP Free Chat at PHP Free Chat Forum. After a little reading and discussion I was able to implement the feature.

Here’s my modified version for the solution based on the forum posting. …

  [Read more...]
AJAX Tutorial with Prototype
+0 Vote Up -0Vote Down


Showing entries 1 to 4

Planet MySQL © 1995, 2016, Oracle Corporation and/or its affiliates   Legal Policies | Your Privacy Rights | Terms of Use

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.