View Single Post
  #9 (permalink)  
Old 08-04-2007, 09:16 AM
HelloWorld's Avatar
HelloWorld HelloWorld is offline
PT Admin
Awards Showcase
Quality Tutorial 
Total Awards: 1
Join Date: Jun 2007
Location: In front of computer...
Posts: 1,118
iTrader: (0)
HelloWorld is a jewel in the roughHelloWorld is a jewel in the roughHelloWorld is a jewel in the rough
Quote:
Originally Posted by TeraTask View Post
Look very closely at the code I put up there against your own code. You didn't copy-and-paste.

P.S. It's not necessary to break a string up into a bunch of pieces as you're doing. Just put single quotes around it and let it span as many lines as you want.
Works beautiful, I shouldn't have cared about "." dots... I thought I'd have to put those to send queries from PHP lol... Thanx a lot TeraTask

PHP Code:
$query 'CREATE TABLE `mycms` (
  `id` int(11) unsigned NOT NULL auto_increment,
  `username` varchar(10) NOT NULL,
  `password` varchar(10) NOT NULL,
  PRIMARY KEY  (`id`)
)'


__________________
PHP Code:
System.out.println("Hello World!"); 

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!