Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 03-16-2011, 11:20 PM   #1
Danmixz
Confirmed User
 
Industry Role:
Join Date: Sep 2010
Posts: 649
Mysql can't figure it out :((

I made some modification to a tube script to add a Pornstar section, now i want to modified it to add more info... But seem i'm always getting some syntax error

Working Table:

PHP Code:
CREATE TABLE IF NOT EXISTS `pornstar` (  `PSIDbigint(20NOT NULL auto_increment,  `namevarchar(120NOT NULL default '',  `websitetext NOT NULL,  `viewsint(11NOT NULL,  `heighttext NOT NULL,  `hairtext NOT NULL,  `borntext NOT NULL,  `measurementstext NOT NULL,  `relatedtext NOT NULL,  `total_videosbigint(20NOT NULL default '0',  `abouttext NOT NULL,  `imagestext NOT NULL,  PRIMARY KEY  (`PSID`),  UNIQUE KEY `name` (`name`)) ENGINE=INNODB  DEFAULT CHARSET=utf8 AUTO_INCREMENT=23 
What i'm trying to add:
PHP Code:
`performertext NOT NULL, `astrologytext NOT NULL, `birthplacetext NOT NULL, `yearstext NOT NULL, `weighttext NOT NULL, `ethnictext NOT NULL,`measurementstext NOT NULL
Any tips on this, seem i can't figure it out

Thanks!!!
__________________
Danmixz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-16-2011, 11:26 PM   #2
k0nr4d
Confirmed User
 
k0nr4d's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Poland
Posts: 9,228
No syntax error that I see...
k0nr4d is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-16-2011, 11:27 PM   #3
k0nr4d
Confirmed User
 
k0nr4d's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Poland
Posts: 9,228
oh wait, you have measurements twice.

CREATE TABLE IF NOT EXISTS `pornstar` (
`PSID` bigint( 20 ) NOT NULL AUTO_INCREMENT ,
`name` varchar( 120 ) NOT NULL default '',
`website` text NOT NULL ,
`views` int( 11 ) NOT NULL ,
`height` text NOT NULL ,
`hair` text NOT NULL ,
`born` text NOT NULL ,
`measurements` text NOT NULL ,
`performer` text NOT NULL ,
`astrology` text NOT NULL ,
`birthplace` text NOT NULL ,
`years` text NOT NULL ,
`weight` text NOT NULL ,
`ethnic` text NOT NULL ,
`related` text NOT NULL ,
`total_videos` bigint( 20 ) NOT NULL default '0',
`about` text NOT NULL ,
`images` text NOT NULL ,
PRIMARY KEY ( `PSID` ) ,
UNIQUE KEY `name` ( `name` )
) ENGINE = MYISAM DEFAULT CHARSET = utf8
k0nr4d is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-16-2011, 11:30 PM   #4
Danmixz
Confirmed User
 
Industry Role:
Join Date: Sep 2010
Posts: 649
Quote:
Originally Posted by k0nr4d View Post
No syntax error that I see...
Finally got it, but seem now i'm getting a 500 error when i try to visit the page (

Crap think i'll do something else for now
__________________
Danmixz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-16-2011, 11:38 PM   #5
Danmixz
Confirmed User
 
Industry Role:
Join Date: Sep 2010
Posts: 649
Quote:
Originally Posted by k0nr4d View Post
oh wait, you have measurements twice.

CREATE TABLE IF NOT EXISTS `pornstar` (
`PSID` bigint( 20 ) NOT NULL AUTO_INCREMENT ,
`name` varchar( 120 ) NOT NULL default '',
`website` text NOT NULL ,
`views` int( 11 ) NOT NULL ,
`height` text NOT NULL ,
`hair` text NOT NULL ,
`born` text NOT NULL ,
`measurements` text NOT NULL ,
`performer` text NOT NULL ,
`astrology` text NOT NULL ,
`birthplace` text NOT NULL ,
`years` text NOT NULL ,
`weight` text NOT NULL ,
`ethnic` text NOT NULL ,
`related` text NOT NULL ,
`total_videos` bigint( 20 ) NOT NULL default '0',
`about` text NOT NULL ,
`images` text NOT NULL ,
PRIMARY KEY ( `PSID` ) ,
UNIQUE KEY `name` ( `name` )
) ENGINE = MYISAM DEFAULT CHARSET = utf8
Thanks a bunch, everything work now

Damn dindt see measurements was there twice

Thanks!!!
__________________
Danmixz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.