# 0: <?
# 1: ----------------------------------------------------------
# 2: CREATE TABLE ADDRESSES (
# 3: ID int(11) NOT NULL auto_increment,
# 4: Name varchar(12) NOT NULL default '',
# 5: Phone varchar(20) NOT NULL default '',
# 6: MODIFIED timestamp(14) NOT NULL,
# 7: CREATED timestamp(14) NOT NULL default '00000000000000',
# 8: PRIMARY KEY (ID)
# 9: ) ;
#11: INSERT INTO ADDRESSES VALUES (1,'John', '28877112', '20050814180607', '00000000000000');
#12: INSERT INTO ADDRESSES VALUES (2, 'Jill', '4785521', '20050814180607', '00000000000000');
#13: INSERT INTO ADDRESSES VALUES (3, 'My dog', '04487 445512', '20050814180607', '00000000000000');
#14: ----------------------------------------------------------
Example 1 | |
---|---|
This creates an insert statement and selects it afterwards.
Program File
# 1: <?php
The result will look like this
# 0: <?
As you can see we are dealing with regular sql statements. FastSQL doen't take this away from you.as long as you don't do very sophisticated stuff you will use standard SQL hopefully so the code will still be portable. Please note that in order for
#0: <?
to output an identifier you must have a unique key in your table, best an auto-increment field.
Important:If the parser does not find a parameter that matches a given tag this tag will be stripped. |
.GR - Domains for you |
No residence restrictions - anybody can register
Registration starting at € 16,33 / year
Web Hosting incl. .gr-Domain from € 8,90 / month
![]() |