LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[Webdev] writing SQL neatly.

[Webdev] writing SQL neatly.

adam beecher adam at iewebs.com
Tue Jun 13 17:26:49 IST 2000


Which just happens to be < 76 chars.

LOL


> > All rather neat and tidy, makes it easy to read. How do the rest of you
> > write your SQL?
> >
> Break at the screen width. :)
> 
> $query  = "INSERT INTO cork
> (aid,term,constructs,definition,useEx,useDef,derivation,more) VALUES ";
> $query .=
> "('$aid','$term','$constructs','$definition','$useEx','$useDef','$deri
> vation','$
> more')";
> mysql_query($query);
> 
> Most of my SELECTS are fairly simple, since I haven't needed complex searches
> yet.
> 
> Ok, Donncha - there's your first topic for the BOF, you can train me up too:
> 
> "Searching a MySQL database."
> 
> adam
> 
> 
> _______________________________________________
> Webdev mailing list
> Webdev at linux.ie
> http://www.linux.ie/mailman/listinfo/webdev
> 




More information about the Webdev mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell