|
|
||||||
|
||||||
| Index Link To US Private Messages Archive FAQ RSS | ||||||
| Database Discussion Forum This is the place to find help resolving those nagging questions you have about implementing and using all kinds of databases. Need help writing a query? Need an opinion on Oracle? Post here! |
Share Thread: & Tags
|
||||
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
Try adding the following:
$results=mysql_query($query); if ($results) { echo "yay"; } else { echo mysql_error(); } My guess would be that the user your PHP script uses to access the database doesn't have CREATE permissions on the database, which is common since this could be a security issue.
__________________
The best way to learn anything, is to question everything. |
|
||||
|
Hi wige
I have added that as you have said, it doesn't give me the echo or the error. Check the database using phpMyAdmin, the table is not created. Just letting you know that it is activated in the wordpress plugin. Might be why it did not show the echo yay when activated. Update: When I went to the plugin configuration, it shows: The database table is not installed, check your db permissions and activate the plugin again or run the following code in phpMyAdmin How to I change the db permission? As I will be using alot of this plugin, I do not want to manually add the code in phpMyAdmin. Last edited by edhan; 07-26-2009 at 01:06 AM. |
|
||||
|
Hi
Just letting you know that I have resolved this issue and here is how I have solved the mystery. I just need to add the command to access the database (wp-config.php in wordpress) and it works. |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Unable to subscribe to threads | Clint1 | WebProWorld: Guidelines/Announcements/Suggestions | 8 | 05-05-2009 06:01 PM |
| Looking for software to create a searchable photo database for a site | yougottakickalittle | Database Discussion Forum | 3 | 09-19-2007 02:23 PM |
| Unable to upgrade PHP | fizzlesquirt | IT Discussion Forum | 3 | 03-21-2005 03:14 PM |
| What is the best way to create an articles database? | sbeco | Database Discussion Forum | 2 | 11-24-2004 07:33 PM |
| What is the best way to create an articles database? | sbeco | Marketing Strategies Discussion Forum | 24 | 11-06-2004 12:06 AM |
|
WebProWorld |
Advertise |
Contact Us |
About |
Forum Rules |
MVP's |
Archive |
Newsletter Archive |
Top |
WebProNews
WebProWorld is an iEntry, Inc. ® site - © 2009 All Rights Reserved Privacy Policy and Legal iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509 |