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...
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...
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...
in phpmyadmin to my local disk? I don't see a field where I can specify the destination.
...
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
...
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
...
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?
...
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
...
Can I set the default in phpMyAdmin to open in structure instead of browse?
thanks
...
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...
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...
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.
...
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
...
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...
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?
...
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 ...
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 ...
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...
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...
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...