Web Hosting Vodahost    

Home Take The Royal Tour! Order Now Features Prices
Go Back   Web Hosting > Content Mangement Systems – CMS > Various Content Management Systems

Notices

Various Content Management Systems Discussion and help about various types of CMS’s that are included with your VodaHost account. All of the following CMS systems can easily be installed via fantastico in your control panel. They include Joomla, Drupal, Mambo, PHP-Nuke, phpWCMS, Post-Nuke, Siteframe, TYPO3 and XOOPS.

Closed Thread
 
Thread Tools
  #1  
Old 11-06-2007, 08:23 PM
mwalsh62's Avatar
Major
 
Join Date: Jul 2007
Location: U.S.A
Posts: 426
Default PHPMyAdmin help

Hi all,

I'm taking my first leap into databases (for a database search to include on my site), have gotten as far as setting up tables in phpMyAdmin, and hit a brick wall. I need to research meanings of various information queries (Field, Type, Collation, Attributes, etc.). Can anyone point me towards tutorials, or the like, that will explain these in somewhat simple language? The few I've tried through Google are either outdated, or beyond my level.

Thanks in advance,
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #2  
Old 11-06-2007, 09:12 PM
mwalsh62's Avatar
Major
 
Join Date: Jul 2007
Location: U.S.A
Posts: 426
Default Re: PHPMyAdmin help

Hi again,
I may have found what I was looking for, will still be grateful for any pointers!

Thanks again,
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #3  
Old 11-06-2007, 09:41 PM
Watdaflip's Avatar
Major General
 
Join Date: Sep 2005
Location: Cincinnati, Ohio
Posts: 2,151
Default Re: PHPMyAdmin help

Heres a quick rundown.

"Field" is a column name. As I assume you know, a database is just a set of tables. The horizontal is columns, each needing a unique identifier. This can be just about anything, but there are some words that are reserved, meaning you can't name your column a word that is reserved.

"Type" is the data type, here is a list of most of the data types
http://www.htmlite.com/mysql003.php

"Length/Values" is the character length a variable can be stored. For instance say you want to have a field called year, and want the numerical value of a year stored in that column. You would then make the "Length" equal to 4, because there are 4 characters in a year (2007 is 4 characters).

"Default" is the default value for that column if a value is not specified when a new row is added to the table

"Extra" only has auto_increment. If you assign a column to auto-increment then whenever a new row is added, it will automatically make the value 1 more then the previous entry. This will number the rows 1-n, n being the total number of rows that have been added to that point. It is very useful to assign an id to each row in the table.

The last thing you should be concerned with is the "Primary", which is the primary column for the table. In most cases this is set the id column for a table, auto-increment requires the column be the primary.

I hope that helps
__________________

Register/Login Script
Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #4  
Old 11-06-2007, 10:48 PM
mwalsh62's Avatar
Major
 
Join Date: Jul 2007
Location: U.S.A
Posts: 426
Default Re: PHPMyAdmin help

Thanks, for the reply, it was helpful.

The biggest stumbling block for me is that I cannot find a manual that explains the nuts and bolts of phpMyAdmin and the database I've created. I've found overview of SQL, very necessary and helpful, but it doesn't explain the operation of MyAdmin. For instance, where is my database? How do I add to, delete from? Any direction from any source would be welcome. I don't need my hand held, just a friendly shove!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #5  
Old 11-06-2007, 11:13 PM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 10,052
Default Re: PHPMyAdmin help

Databases appear in the left column of phpMyAdmin (if any. After you select a database (from those that exist, if you have created some), the tables appear beneath. Select the table you want to work with or add tables, if you don't have any.

Once a table has been populated with some listings, you can edit or delete any of the contained info, clicking on the relevant icons
__________________
Navaldesign
Logger Lite: Low Cost, Customizable, multifeatured Login script
Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #6  
Old 11-07-2007, 12:08 AM
mwalsh62's Avatar
Major
 
Join Date: Jul 2007
Location: U.S.A
Posts: 426
Default Re: PHPMyAdmin help

Hi Naval,

Yes, I'm with you up until population. How do I put data in my database? I have a table with 9 fields, how do I populate those fields?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #7  
Old 11-07-2007, 02:04 AM
Watdaflip's Avatar
Major General
 
Join Date: Sep 2005
Location: Cincinnati, Ohio
Posts: 2,151
Default Re: PHPMyAdmin help

Using phpMyAdmin, once you select the table, you can click the "Insert" button. This will allow you to add a row to the database.
__________________

Register/Login Script
Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #8  
Old 11-07-2007, 02:14 AM
mwalsh62's Avatar
Major
 
Join Date: Jul 2007
Location: U.S.A
Posts: 426
Default Re: PHPMyAdmin help

Okay, a little success!

I had been looking at that, the "Function" column backed me off. Is it necessary to add a function? This is why I am looking for a source to read. Everything I've found out there assumes I know what I am doing! It's hard to find a good teacher through Google.

Thanks to both of you, I'm going to keep messing with it.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #9  
Old 11-07-2007, 05:53 AM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 10,052
Default Re: PHPMyAdmin help

There is no practical meaning in using phpMyAdmin to populate a database. It was designed with DB creation / maintainance in mind and not management.

If you can explain a bit what you are trying to acheive, we can maybe provide some more useful info.

Searc scripts usually do NOT require you to manually do anything, they have an installation wizard that creates the tables and then the content is added by the script itself.
__________________
Navaldesign
Logger Lite: Low Cost, Customizable, multifeatured Login script
Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #10  
Old 11-07-2007, 02:25 PM
mwalsh62's Avatar
Major
 
Join Date: Jul 2007
Location: U.S.A
Posts: 426
Default Re: PHPMyAdmin help

Quote:
Originally Posted by navaldesign View Post
There is no practical meaning in using phpMyAdmin to populate a database. It was designed with DB creation / maintainance in mind and not management.

If you can explain a bit what you are trying to acheive, we can maybe provide some more useful info.

Searc scripts usually do NOT require you to manually do anything, they have an installation wizard that creates the tables and then the content is added by the script itself.
Hi Naval,

What I am trying to accomplish is a searchable database similar to the one found here, not a site search. I assume that I will manually have to populate the database.

Thanks for your time,
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #11  
Old 11-07-2007, 03:56 PM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 10,052
Default Re: PHPMyAdmin help

Hmm... . populating a database table is much simpler (especially if you want the user's to input the data themselves).
Simply create a form with the fields you want, install ABVFP and process the form with it. Whenever a user submits the form, the data wil be automatically stored in the database. Not only, but you don't even have to create the table, ABVFP wil do it automatically for you.

The search part is an entirely different issue. If the search is only for you, you can do it either through phpMyAdmin, or through a dedicated script. if the search is intended for displaying the search results in a web page in your site, you need a script that will perform the search and display the results in a table, separated in pages if they are too many to display in a single page
__________________
Navaldesign
Logger Lite: Low Cost, Customizable, multifeatured Login script
Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #12  
Old 11-07-2007, 04:22 PM
mwalsh62's Avatar
Major
 
Join Date: Jul 2007
Location: U.S.A
Posts: 426
Default Re: PHPMyAdmin help

Hi Naval,

As to part one of your response, I had thought of user input, allowing them to add to the database, but as a secondary, "down the road" addition, once I had established a search.

The search I am attempting would be a feature on my site, for viewers, to find locations based on their input to name, city, state, etc. fields. As to how the results will be displayed, I haven't quite thought that through yet, still figuring out where and how results will be generated. I have read up a bit on SQL, haven't had as much exposure to PHP, am trying to fit in as much study as time will allow.

Your assistance is much appreciated,
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #13  
Old 11-07-2007, 04:50 PM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 10,052
Default Re: PHPMyAdmin help

I believe that you should first start from the input part. The input can be EITHER from the users directly or even from YOU, using the same form.

When you are ready with that part, i can provide some instructions on how the search part can be built.
__________________
Navaldesign
Logger Lite: Low Cost, Customizable, multifeatured Login script
Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #14  
Old 11-08-2007, 04:36 AM
mwalsh62's Avatar
Major
 
Join Date: Jul 2007
Location: U.S.A
Posts: 426
Default Re: PHPMyAdmin help

That idea is so crazy, it just may work!!!

Just kidding, that makes perfect sense. I've seen a lot of posts about ABVFP, is that where I should start? Not going to wait for an answer, the game is afoot!

Thanks again,
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #15  
Old 11-08-2007, 06:55 AM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 10,052
Default Re: PHPMyAdmin help

Oh yes, it DOES work. This is the normal procedure. Although in my commercial scripts i don't use ABVFP because i need more specific functions, the concept is the same, there is a form, there is a script that processes the form, storing the info in the database, and at last there is a script that retrieves the info from the database according to certain criteria and displayes it (or prints it, or stores it in a file, or anything).
__________________
Navaldesign
Logger Lite: Low Cost, Customizable, multifeatured Login script
Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #16  
Old 11-08-2007, 07:39 AM
mwalsh62's Avatar
Major
 
Join Date: Jul 2007
Location: U.S.A
Posts: 426
Default Re: PHPMyAdmin help

Hey Naval,

I've downloaded, set-up, and registered. I'm almost done building form, then I got stupid. I'm not sure I remember my form number! I recall that by default it was named "2"? Though in the name field I believe I had typed "1". I don't see it in confirmation e-mail, how can I retrieve to make certain so I may save form?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #17  
Old 11-08-2007, 07:50 AM
mwalsh62's Avatar
Major
 
Join Date: Jul 2007
Location: U.S.A
Posts: 426
Default Re: PHPMyAdmin help

Hey,

I now see it in phpMyAdmin, just to make certain:

"One last but most important step: You need to add a hidden field in your form. This hidden field must be named “Formid” and its value must be the form number that ABVFP has indicated to you when you set up the form."

The hidden field value must be = "Formid" or "Formname"? And did I screw up by having them different? And does it matter what I name the form page itself for publishing?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #18  
Old 11-08-2007, 09:42 AM
mwalsh62's Avatar
Major
 
Join Date: Jul 2007
Location: U.S.A
Posts: 426
Default Re: PHPMyAdmin help

Hi again!

I decided to be "ballsy", put my logical hat on, and went for it. It seems to have worked! The only problem I see is in the record in phpMyAdmin, the phone number is not number I submitted. I received the submission e-mail, and the phone number is right???

When I first submitted, I received error that phone number could be numbers only (xxxxxxxxxx vs. xxx-xxx-xxxx), I re-entered and it accepted. I have field named "Phone-NR", does it need to be "Telephone-NR" as spelled out in tutorial?

Thank you for the help and inspiration!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #19  
Old 11-08-2007, 09:43 PM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 10,052
Default Re: PHPMyAdmin help

No. ABVFP will create the database table fields after taking out the extension. The "Phone-NR" field will create a "Phone" field in the database.

As for the fact that you did not recieve the phone number in the database, it seems rather improbable to me, especially if it has sent you the email. The only logical explanation would be if you, first created a form WITHOUT the "Phone" field (or you had it named something else) and the you added this field (or named it something else). You see, ABVFP will create the table the VERY FIRST TIME you submit, after that, any field additions or renaming will be ignored. If this is the case, DELETE the form_nr2 table from the database, and then submit again so the table will be created again correctly.
__________________
Navaldesign
Logger Lite: Low Cost, Customizable, multifeatured Login script
Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #20  
Old 11-08-2007, 11:48 PM
mwalsh62's Avatar
Major
 
Join Date: Jul 2007
Location: U.S.A
Posts: 426
Default Re: PHPMyAdmin help

Hi Naval,

I am 100% certain the table was created properly. No fields added after first submission. All fields filled in for first submission.

The odd thing is that the "wrong" number that appeared in the "Phone" field for each submission was "4294967295", which is the maximum value for "Int" according to SQL documentation.

I took a chance, and changed the type to "varchar" and it now works. Does this have any detrimental effects on the field, or the table as a whole?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #21  
Old 11-09-2007, 06:20 AM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 10,052
Default Re: PHPMyAdmin help

No problem at all.
__________________
Navaldesign
Logger Lite: Low Cost, Customizable, multifeatured Login script
Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #22  
Old 11-09-2007, 06:22 AM
mwalsh62's Avatar
Major
 
Join Date: Jul 2007
Location: U.S.A
Posts: 426
Default Re: PHPMyAdmin help

Thanks Naval, I couldn't have done it without you!

Now, where do I find a script for a search?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT +1. The time now is 08:04 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC7
2005-2009 VodaHost Web Hosting Your Perfect Web Host - All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203