Quantcast
Channel: Topic Tag: MySQL | WordPress.org
Browsing all 5527 articles
Browse latest View live
↧

Eventyret on "Help with $wpdb"

^ Tested something i almost got to work but when did this it does not show anything <?php $comment_count = $wpdb->get_var($wpdb->prepare("SELECT COUNT(*) FROM wp_iphorm_form_entry_data WHERE...

View Article


jholder83864 on "Help with $wpdb"

var_dump $comment_count, let's see what's in the object.

View Article


Eventyret on "Help with $wpdb"

Yeah got it to work almost now, the last thign i need to get is it from certain user <?php $fish_count = $wpdb->get_var($wpdb->prepare("SELECT COUNT(*) FROM wp_iphorm_form_entry_data WHERE...

View Article

jholder83864 on "Help with $wpdb"

You need a where clause for the user. where userid = userid

View Article

Eventyret on "Help with $wpdb"

But can i use where userid = user_login or something when its not in the same table it gets the info from ? Thing is this is from a plugin and shows how many fishes a certain user has catched, but i...

View Article


Brian on "MySQL Problem"

I use WP 3.51 for my site and am having problems with my webhost throttling my account because of slow mysql queries. Below is one such query. I used * to blot out some numbers and my database bame...

View Article

wp_fixit_guy on "MySQL Problem"

Mind if I ask which theme you are using? Also, which provider are you using to host your site?

View Article

Eventyret on "Help with $wpdb"

I been searching again a bit around and it seems i need to JOIN the tables of some sort, but what i need then is to figure a way out how to post the personal stuff.. The code <?php $fish_count =...

View Article


Brian on "MySQL Problem"

I'm using the Swift theme and hosted by Bluehost.

View Article


alexbassy on "Images and some css not showing up after database restore"

Hi everyone My site got hacked on the weekend (great...) and there was some sort of virus put on the server (dedicated virtual) which led to MediaTemple wiping our files... A copy of the whole server...

View Article

Eventyret on "Help with $wpdb"

Tried something new but it seems this gives me an error. <?php $current_user = wp_get_current_user(); $brukernavn = $wpdb->get_var(wpdb->prepare("SELECT FROM wp_iphorm_form_entry_data WHERE...

View Article

zaros on "[Plugin: Jazzy Forms] Ordering or emphasizing best result?"

Hi, Great plug-in! I've made a site that makes a bunch of different calculations, all using the same variables, but different formulas. Now I'm wondering if there is a way to make the lowest result...

View Article

robertessiendesign on "[Plugin: BackWPup] Error: Cannot connect to MySQL...

Hi, I have a BackWPup scheduled on a client's site to backup the database and web files to DropBox. Recently though I've been getting error messages with regard to connecting to MySQL and the database...

View Article


wp_fun95 on "[Plugin: Contact Form DB] Preventing duplicate e-mail addresses...

Hi Michael did you have some time to think about this problem? in the meantime I asked again support from the plugin who told me that editing the core files is not recommended (so they do not exclude...

View Article

h.a.visser on "mysql_select_db in iframe dies"

Hello all, probably not a real wordpress issue, but i would be really happy if someone knows the answer to my problem. I use a wordpress website and in one of the pages i load an iframe. So far so...

View Article


h.a.visser on "mysql_select_db in iframe dies"

Topic resolved... after 45min i found out the iframe was linking to another scriptfile (old copy wih old pwd)

View Article

Michael Simpson on "[Plugin: Contact Form DB] Preventing duplicate e-mail...

I haven't tried this, but you might try this: - create a file cfdb-filters.php at the top of your WordPress installation - On the first line put: <?php - after that put in your code - In...

View Article


lucop1 on "MySQL Queries, Too Many.. Why?"

Hi Guys, I'm making my first website using wordpress. I think it's an amazing CMS with a lot of resources but..... I found a very big problem that nobody seems to talk about. Wordpress makes a lot of...

View Article

wp_fixit_guy on "MySQL Problem"

Sorry for the delay in responding... In all honesty, your problem really lies within the statement WHERE post_status = 'publish' AND ... How many posts does your blog have, and I would honestly refer...

View Article

wdlyons on "Displaying output from one table based on the info of another"

This has been driving me crazy!!! I am creating a small plugin with two tables" table1 id first_name family_name date_of_birth family_id post_id father_id mother_id sex and table2 id person_id...

View Article
Browsing all 5527 articles
Browse latest View live