Jump to content
  • 0

guys!


youtube

Question


  • Group:  Members
  • Topic Count:  74
  • Topics Per Day:  0.02
  • Content Count:  171
  • Reputation:   0
  • Joined:  06/19/13
  • Last Seen:  

how can create table on SQL about email.

 

like this


CREATE TABLE IF NOT EXISTS `E-Inquiry` (
`ID` bigint(20) unsigned NOT NULL auto_increment,
`Sender_ID` int(11) unsigned NOT NULL default '0',
`Sender_Name` varchar(30) NOT NULL default '',
`Title` text,
`Message` text,
`Status` tinyint(2) NOT NULL default '0',
`Inquiry_Time` datetime NOT NULL default '0000-00-00 00:00:00',
`Reply` text,
`Reply_Time` datetime NOT NULL default '0000-00-00 00:00:00',
`Reply_Name` varchar(30) NOT NULL default '',
PRIMARY KEY  (`ID`)
) ENGINE=MyISAM;

 

i dunno how to create a table for 

E-Inquiry

 

 

2ezsr9g.jpg

Edited by youtube
Link to comment
Share on other sites

9 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  

What framework are you using? Just execute the command :D

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  74
  • Topics Per Day:  0.02
  • Content Count:  171
  • Reputation:   0
  • Joined:  06/19/13
  • Last Seen:  

rrmn1t.jpg



2wd7okm.jpg



OOP how?



34oxcg5.jpg



@OOP .. can you help me? 



What framework are you using? Just execute the command :D

Patskie see the control panel

are you familiar with SQL Query ? 

suyothegreat

10% familiar master

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  90
  • Topics Per Day:  0.02
  • Content Count:  361
  • Reputation:   18
  • Joined:  01/09/13
  • Last Seen:  

it's patskie not OOP Hahaha, anyway, delete the existing table "E-Inquiry" then Paste the SQL to the query then execute it.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  74
  • Topics Per Day:  0.02
  • Content Count:  171
  • Reputation:   0
  • Joined:  06/19/13
  • Last Seen:  

can you post the SS of SQL 

2ilipvb.jpg

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  

E-inquiry table i guess is made only by Emistry. so if E-inquiry table is already there then i conclude that there should be no problem on emistry script.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  74
  • Topics Per Day:  0.02
  • Content Count:  171
  • Reputation:   0
  • Joined:  06/19/13
  • Last Seen:  

suyothegreat i change the"E-Inquiry" to "SQL" there no happen

suyothegreat i change the"E-Inquiry" to "SQL"  same error

my SQL table is correct or have wrong?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  90
  • Topics Per Day:  0.02
  • Content Count:  361
  • Reputation:   18
  • Joined:  01/09/13
  • Last Seen:  

suyothegreat i change the"E-Inquiry" to "SQL" there no happen

suyothegreat i change the"E-Inquiry" to "SQL"  same error

 

my SQL table is correct or have wrong?

No No No No .. delete the Existing "E-Inquiry" table then Execute this SQL Code

CREATE TABLE IF NOT EXISTS `E-Inquiry` (

`ID` bigint(20) unsigned NOT NULL auto_increment,

`Sender_ID` int(11) unsigned NOT NULL default '0',

`Sender_Name` varchar(30) NOT NULL default '',

`Title` text,

`Message` text,

`Status` tinyint(2) NOT NULL default '0',

`Inquiry_Time` datetime NOT NULL default '0000-00-00 00:00:00',

`Reply` text,

`Reply_Time` datetime NOT NULL default '0000-00-00 00:00:00',

`Reply_Name` varchar(30) NOT NULL default '',

PRIMARY KEY  (`ID`)

) ENGINE=MyISAM;

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  74
  • Topics Per Day:  0.02
  • Content Count:  171
  • Reputation:   0
  • Joined:  06/19/13
  • Last Seen:  

2h8bz83.jpg

 

mmmmm

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...