Flux rss
Search : in
By : Relevance Date Username
Statut : Solved

MySQL Help, PHP and Database help

DV6500, on Monday September 1, 2008 02:44:18 AM
Hello,
I am building a form/blog/personal site for a small company. I was wondering if someone could help me in setting up my database. i have thought of a few options but i am not quite sure what one is the best.

each user have a person page, they need all their information stored, mail, bulletins, friends, etc.

i have my MySQL server setup as such:
SCHEMA(users) -> TABLE(Username) -> COLUMNS(disname, email, mail_from, bulletin_from, etc.)
The problem i am having with this is when send a new email or bulletin it adds a new row leaving NULL spaces.

For example:
Friends---------mail_message-----bulletin_message
Bob-------------null-------------------null
Tom------------null-------------------null
Joe-------------null--------------------null
null-------------Hello this is...----- null
null-------------My name is...----- null
null-------------null-------------------This is a bullet...
null-------------Hello this is...------null


see how everytime i post a new message or add a friend or post a bulletin it drops it down a row instead of filling in the NULL space. i dont like this and i beleive its slowing my server down a bit.

My other idea was to setup MySQL server such as:
SCHEMA(Username) --> TABLE(Mail, Bulletins, UserData, etc.) --> COLUMNS(Data)
idk how well this works and if it slows down my server any when i try to access multiple SCHEMAs at once.

Please can someone help me and aid me twards a better solution :)

Thanks,
DV6500
Configuration: Windows Vista
Internet Explorer 7.0
Reply to DV6500  Report this message to moderators Go to last message

1


  • 1
    This message seems useful, vote!
  • This message does not seem useful, vote!
  • Report this message to moderators
Nathans008, on Monday September 1, 2008 12:44:31 PM
hello buddy here is a link where you will find it perhaps very useful :

http://hostingrevolution.com/mysqlandphp.htm
Reply to Nathans008

2


  • This message seems useful, vote!
  • Report this message to moderators
 DV6500, on Monday September 1, 2008 07:47:11 PM
Thanks, i think i figured out how im going to set it up:

SCHEMA(MAIL, BULLETINS, USERS) -> TABLE(MAIL STUFF, BULLETIN STUFF, USER INFO) -> COLUMN(DATA)

thanks allot :)
Reply to DV6500

Results for

Download WordPress WordPress allows to make personal publication. It uses as editor of blogs or administrators of contents (text, photograph). The whole calls the use of MYSQL / PHP.. WordPress gives so basic functions necessary for the writing of tickets: management... en.kioskea.net/telecharger/telecharger-193-wordpress
Download DB Designer Allows you to handle your databases the most efficient way. DBDesigner 4 is a visual database design system that integrates database design, modeling, creation and maintenance into a single, seamless environment. It combines a simple and clear... en.kioskea.net/telecharger/telecharger-273-db-designer
Php + mysql guestbook help Hello, Ive been trying to follow this very basic php+mysql guestbook for my site. The link is http://www.go4expert.com/forums/sho... Now the gbook.php file works perfectly. It is able to connect and write to the database. However the showgbook.php... en.kioskea.net/forum/affich-5056-php-mysql-guestbook-help

Results for

MySQL real time monitoringMySQL real time monitoring You are administrating a MySQL database and you want to analyze in real time the operations taking place in order to have a diagnostics over probable problems, errors or to monitor server activity. PhpMyAdmin... en.kioskea.net/faq/sujet-561-mysql-real-time-monitoring
PhpMyAdmin - Access denied for user root’@localhostPhpMyAdmin - Access denied for user root’@localhost To reset the rights of the root user Insert the host and password Beginners may face the problem of accessing MySql by the root user. This issue happens when the root requires you to... en.kioskea.net/faq/sujet-673-phpmyadmin-access-denied-for-user-roota-localhost
Reinitializing the root password of MySQLReinitializing the root password of MySQL The root password is lost! Reinitializing the password: It’s important that you are able to access and modify the admin (root) password of MYSQL, either when installing MySQL for the first... en.kioskea.net/faq/sujet-630-reinitializing-the-root-password-of-mysql

Results for

Looking for a php script....Hello, I'm looking for a php/mysql script thats like "The Names Database" except you don't need to put in other people's e-mail address or pay for the more features. I want it to be a completly free site. The Names database is a slimed... en.kioskea.net/forum/affich-5059-looking-for-a-php-script
The MySQL adapter "mysql" is not availabhi,i going to install joomla in XP,but I get the following error message... Unable to connect to the database:The MySQL adapter "mysql" is not available. MySql is running smoothly when i login through the command line. Im using Apache. Please help... en.kioskea.net/forum/affich-18884-the-mysql-adapter-mysql-is-not-availab
Mysql and Navicat Table DesignHello, I am really new to this . I am using Navicat with MySql. I have created a Database and a table. However, when I try to set a field type to text and the length to say 20 it always reverts back to 0 and will not import any data. It is probably... en.kioskea.net/forum/affich-4826-mysql-and-navicat-table-design

Results for

Download PHP Edit PHPEdit is an environment of inserted development (IDE) under Windows for language PHP. It gives a big number of functions allowing to develop more efficiently: Syntactic coloring Auto-complete of functions integrated Debugger PHP en.kioskea.net/telecharger/telecharger-140-php-edit
Download Database Designer Platinum EditionDatabase Designer is a program for creating databases. It requires no programming knowledge. The application offers many tools: additions of fields, images, checks bugs correction syntactic and much more. It also allows the export of basic HTML, text... en.kioskea.net/telecharger/telecharger-1077-database-designer-platinum-edition
Download OpenOfficeOpenOffice is a free office application suite, including a word processor, spreadsheet, presentation tool, drawing package and database, compatible with all other major office suites like Microsoft Office (97-2007... en.kioskea.net/telecharger/telecharger-56-openoffice

Results for

Databases - ODBC (Open Database Connectivity) ODBC stands for Open Database Connectivity. This is a Microsoft-defined format for communicating between Windows database clients and consumer DBMSs. The ODBC managier can be found in Windows 3.1 and 9x. In Windows 95 and 98, it is available in the... en.kioskea.net/bdd/odbc.php3
Databases - Introduction A database (abbreviated DB) is an entity in which data can be stored in a structured manner, with as little redundancy as possible. Different programs and different users must be able to use this data. Therefore, the concept of a database is... en.kioskea.net/bdd/bddintro.php3
Databases - DBMS models Databases appeared in the late 1960s, at a time when the need for a flexible information management system had arisen. There are five models of DBMS, which are distinguished based on how they represent the data contained: The hierarchical model: The... en.kioskea.net/bdd/bddtypes.php3