Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest sNews - sNews 1.7 - with its own forums - for discussion and user mods.

Author Topic: 1.7. Related Resources  (Read 3079 times)

centered

  • Guest
1.7. Related Resources
« on: April 01, 2008, 12:56:32 pm »

So I will give others a peek at what is under the hood of 1.7

PHP:

1. Define
Defines a named constant

This cannot be renamed or altered from any place else in the script

2. Variable Scope (Globals)
Defining global variables.

This can be altered from within a script and be changed.  Please use wisely and mod wisely!!!

Mysql:

1. Joins
select
   tableA.column,
   tableB.column
from
   tableA, tableB
where
   tableA.column = tableB.column

2. AS alias
   Select
      Column1.1 AS col1,Column1.2,Column1.3,
      Column2.1,Column2.2 AS col22
   From
      Table1,Table2
Logged