Ha Gyz,

**I Need Database for my Products:

id
image of product
Condition
Product Info
Price**

And 1 Other thing i want search engine for my site to display data from database.

Plz Plz Help Me .

I Make the following but its not working:

id int(10) No auto_increment
Image longblob BINARY No
name varchar(32)
decription varchar(255)

Recommended Answers

I Need Database for my Products:

This is the table I came up:

From this:

id int(10) No auto_increment
Image longblob BINARY No
name varchar(32)
decription varchar(255)

To this:

CREATE TABLE `Products` (
  `id` int(15) NULL auto_increment,
  `Image` varchar(255) NOT NULL,
  `name` varchar(16) NOT NULL
  `decription` text …
Jump to Post

All 3 Replies

Member Avatar

I Need Database for my Products:

This is the table I came up:

From this:

id int(10) No auto_increment
Image longblob BINARY No
name varchar(32)
decription varchar(255)

To this:

CREATE TABLE `Products` (
  `id` int(15) NULL auto_increment,
  `Image` varchar(255) NOT NULL,
  `name` varchar(16) NOT NULL
  `decription` text NOT NULL
);

And 1 Other thing i want search engine for my site to display data from database.

This one is pretty much on your own. The reason is very simple there's a alot of work involve and so far you are just started. You need to read up on this.

thankx
but
in image i want to store image file its a text

Member Avatar

in image i want to store image file its a text

You can modify the column in the table by yourself. It's not that hard to make minor changes.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.