473,587 Members | 2,291 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Creating a bookstore database using phpmyadmin

5 New Member
platform: windows2000 professional.

I am trying to create a database into which I can load my 12,000 books I have for sale. My web service provider have given me a graphical user interface called phpMyadmin and created an empty database for me. It is up to me now to define my table fields etc. While I get the general idea, I am pulling my hair out as I cannot seem to find any clear simple instructions of how to do it (only mile and miles of code which may as well be in Chinese for all I understand of it).

I have 'created' a table with 15 fields quite easily. I am presented with a table similar to a spreadsheet into which I have to type or select various information from drop-down boxes. The headings are as follows:

field
type
length/values
collation
attributes
null
default
extra

These are then followed by 4 radio buttons (like Primary key). I can work out how to fill in some of the boxes but I really just do not know what things like 'collation' 'attributes' 'extra' are for. Is there anywhere I can get a simple guide on how to continue. Any help would be appreciated.
Sep 28 '06 #1
4 3064
ronverdonk
4,258 Recognized Expert Specialist
You'd better learn someting about MySql before going any further with this.
PHPAdmin is just an end-user interface to the MySql database and will not give you much information.
Try the MySql at this link:
http://www.php-mysql-tutorial.com/

Ronald :cool:
Sep 28 '06 #2
Mike Sumner
5 New Member
I was confused before. Now I'm REALLY confused.
Sep 29 '06 #3
ronverdonk
4,258 Recognized Expert Specialist
What I meant to state is that, before you use tools like PhpAdmin, you'd better learn something about MySql and, in this case, data types and data properties, so you know how to define your table data fields and their types,
Hence my advice to learn some MySql basics first.

Roonakd :cool:
Sep 29 '06 #4
Mike Sumner
5 New Member
I'm o.k with data types and I have got the basics of it all. What I'm stuck on now is what character set and collation to use. Any help is much appreciated. Thanks
Sep 30 '06 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

5
3034
by: lkrubner | last post by:
I have a webserver through Rackspace. I create a domain. I create an FTP user. I upload some files. I create a database called testOfSetupScript and then I create a database user named setup. I write some PHP code which should, I think, be able to to auto create the tables. The SQL looks like this:
11
2180
by: Joshua Beall | last post by:
Hi All, I am working on a registration system, and one of the things I am going to need to be able to do it setup the database tables for each event that I have registration for. Normally I would do this by hand, but I am wondering if there are any code libraries out there that could generate the SQL for me. Basically I would have a...
0
1352
by: bettina | last post by:
I had an Access database and I had always used in my tables (whenever possible) pop up lists to choose elements.. for example, for a column I've wrote in "Datensatzherkunft" SELECT tbl.field1 FROM tbl WHERE tbl.field2 LIKE 'XXX'; or I could say that only certain values are allowed: "X";"O";"S" as an example. Now I have exported my Access...
2
514
by: Peter | last post by:
Hi all, Quite by accident, I found the mysqldump utility, that comes with MySQL, which dumps/backsup a database, table, or record. It looks very versatile! Does PHP have a way to export records of a MySQL database? Anything that does the same independent of the database used? Pete
3
4908
by: Xerxes | last post by:
Hi, I would like to import the tables from MySQL database into Access database and I am not sure how to go about it. I tired to "Import External Data" from Access, selected "ODBC database" from file type dropdown, selected "New data source" and picked SQL Server from the list. I specified the server name (mydomain.com) along with user id and...
0
2549
by: Howard | last post by:
I have Apache Web Server 2.0.55 installed locally with MySQL 5.0.18-nt, and of course PHP 5.1.2 I also have installed phpMyAdmin. It is accessible through http://localhost/phpMyAdmin. The pathing for directories is C:\Apache\Apache2\htdocs-root folder for Dreamweaver 6.0 otherwise know as MX 2004 I think. C:\mysql, C:\mysql\data-databases...
2
3817
by: RottNKorpse | last post by:
Well I am trying to make an admin section to allow my other admins of my site able to add content to my mysql database without giving them phpmyadmin access and without teaching them out to use it as well. So I am trying to make a form that they can use to fill in a few simple fields and then it create the tables in the database and then insert a...
12
2714
by: mistral | last post by:
phpMyAdmin 2.6.2 problem: can no connects to mySQL database: each time shown error #1045 - Access denied for user 'username'@'192.168.1.2' (using password: YES) Is seems, this is most common problem for mySOL and phpMyAdmin. Extremelly ugly and inconvenient program.
39
5842
by: alex | last post by:
I've converted a latin1 database I have to utf8. The process has been: # mysqldump -u root -p --default-character-set=latin1 -c --insert-ignore --skip-set-charset mydb mydb.sql # iconv -f ISO-8859-1 -t UTF-8 mydb.sql mydb_utf8.sql mysqlCREATE DATABASE mydb_utf8 CHARACTER SET utf8 COLLATE utf8_general_ci;
0
7915
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
8205
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8339
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7967
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8220
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5392
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3840
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3872
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2347
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.