phpmyadmin

How to save content uploaded by user?

I am planning to start a site in which the content is generated by the users. What is the best method to save the data submitted by user? Is the method of saving the data in phpmyadmin database a good idea considering that the data submitted by users is large similar to a blog post. Btw I'm good in working with php and mysql but I'm no...

phpmyadmin shows numbers or blob for mysql's utf8_bin callation columns?

Hi ! I have a table with a varchar column. Its collation is set to utf8_bin. My software using this table and column works perfectly. But when I look at the content in phpmyadmin, I only see some hex values or [Blob xB]. Can I make phpmyadmin show the content correctly? Besides, when I set the collation to utf8_general_ci or utf8_unico...

Entering Content Into A MySQL Database Via A Form

I've been working on creating a form that submits content into my database but I decided that rather than using a drop down menu to select the date I'd rather use a textfield. I was wondering what changes I will need to make to my table creation file. <?php mysql_connect ('localhost', 'root', 'root') ; mysql_select_db ('tmlblog'); $sql...

How to export an SQL-Database

in phpmyadmin to my local disk? I don't see a field where I can specify the destination. ...

How do you export tables from phpMyAdmin as plain text table format?

I've been through most of the export formats and can't seem to find it. I'd like to be able to export tables visually like in this answer: id | name | name ---------------- 1 | One | Partridge 2 | Two | Turtle Doves 3 | Three| French Hens 4 | Four | NULL ...

How to connect the PHPMYADMIN DB to create DB

hi All, I am trying to create the batch file which will create the table in Jommla Database, Phpmy admin, I am trying to connect DB with mysql -uroot -ptest conf but it is not connecting to the database. regards NewDev ...

What does the "Add DROP TABLE / VIEW / PROCEDURE / FUNCTION" checkbox do in phpmyadmin

Under the structure tab, when EXPORTing a database using phpmyadmin there is a check box labeled: Add DROP TABLE / VIEW / PROCEDURE / FUNCTION What does this do? ...

How to connect PHPMyadmin DB by creating the batch file.

Hi All, I have created the sql file to create table in DB, I am using PHPMYAdmin But i am not able to connect to the DB, I want to run this as Batch file. If i try to MYSQL from command prompt it give error as 'mysql' is not recognized as an internal or external command, operable program or batch file. Regards, Dev ...

phpmyadmin - default to structure instead of browse

Can I set the default in phpMyAdmin to open in structure instead of browse? thanks ...

trouble connecting to MySql DB (PHP)

Hi I have the following PHP code to connect to my db. <?php ob_start(); $host="localhost"; // Host name $username="root"; // Mysql username $password=""; // Mysql password $db_name="test"; // Database name $tbl_name="members"; // Table name // Connect to server and select databse. mysql_connect("$host", "$username", "$password")or die...

Run Sql file in MYSQL PHPMyadmin

Hi All, I have written the SQL file with on excecuting it is throwing the error as mysql> @"C:\Documents and Settings\Hemant\Desktop\create_tables.sql"; ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '@"C:\ Documents and Setting...

How to change time limit in phpmyadmin (logging in)

I use phpmyadmin to create mysql database. And I have set the auth type to cookie in the config.inc.php. How do I change the time limit so that even if I logged in I stayed idle for hours it won't require me to log in again. ...

Concat not work phpmyadmin (mysql)

hello, i want update my row and concat my string but i have an error with this query UPDATE FILE SET NOMFIC ='supp_'+D_NOMFIC WHERE IdFile = 2 ...

Select *, max(date) works in phpMyAdmin but not in my code

OK, my statement executes well in phpMyAdmin, but not how I expect it in my php page. This is my statement: SELECT `egid`, `group_name` , `limit`, MAX( `date` ) FROM employee_groups GROUP BY `egid` ORDER BY `egid` DESC ; This is may table: CREATE TABLE `employee_groups` ( `egid` int(10) unsigned NOT NULL, `date` date NOT NUL...

Can I import excel file to phpmyadmin?

I have an speadsheet file contains some data such as ID, name, lastname. Can I import excel file to phpmyadmin (SQL)? How to do it? ...

help with mysql triggers (checking values before insert)

hi I'm quite new to mysql and I'm trying to figure out how to use triggers. what I'm trying to do: I have 2 tables, max and sub_max, when I insert a new row to sub_max I want to check if the SUM of the values with the same foreign_key as the new row are less than the value in the max table. I think this sounds confusing so here are my ...

Add several fields to MySQL Database

I am fairly new to building sites with PHP and MySQL but am trying to achieve the following: During an online enrollment process, a promoter is able to enroll up to 20 'fighters' for medical testing services. Each fighter's information is stored in SESSION as $_SESSION['FnumAttr'] where num is the number and Attr is the attribute being ...

Insert Registration Data in MySQL using PHP

I may not be asking this in the best way possible but i will try my hardest. Thank you ahead of time for your help: I am creating an enrollment website which allows an individual OR manager to enroll for medical testing services for professional athletes. I will NOT be using the site as a query DB which anybody can view information stor...

What is the best way to update a field for each row in a table?

I have a table called artists. Within it, there is a field for the artist name (artist_name). Then there is a field for SEO friendly artist name, we'll call it search_name. I have over 40,000 artists in this table. So, I'd like to convert all artists names to search friendly. What is the best way to accomplish this? Not looking f...

How to Bookmark a query in PHPMyAdmin

I'm trying to bookmark a query for another user in PHPMyAdmin using the built in bookmarking feature and I don't have the option to save the current query I'm viewing the results for. It works on my local host but not on the live server. I've setup a database for PHPMYAdmin and an authenticated user with permissions. Is there an on sw...