আমি php mysql দিয়ে নিচের মত করে লিস্ট তৈরি করতে চাই আর Sn গুলো আবার ডাটাবেসে সেইভ করে রাখব

+----+---------+----+ 
| id | name    | sn |
+----+---------+----+
|  1 | dog     |  8 |
|  2 | cat     |  9 |
|  3 | penguin | 10 |
|  4 | lax     | 11 |
|  5 | whale   | 12 |
|  6 | ostrich | 13 |
+----+---------+----+

asked 18 May '17, 03:10

itkhansunny's gravatar image

itkhansunny
1467


`id` int(20) NOT NULL AUTO_INCREMENT,

Example

   CREATE TABLE IF NOT EXISTS `{PREFIX}keyword` (
      `id` int(20) NOT NULL AUTO_INCREMENT,
      `name` varchar(255) NOT NULL DEFAULT '',
      `sn` varchar(255) NOT NULL DEFAULT '',
      PRIMARY KEY (`id`)
    ) ENGINE=InnoDB  DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
permanent link

answered 17 Apr, 11:41

Kodor%20Ali's gravatar image

Kodor Ali
16

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×52
×30
×4

question asked: 18 May '17, 03:10

question was seen: 328 times

last updated: 17 Apr, 11:41