Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options user 111408
1
vote
I found the answer. This works fine. function row_count_shortcode() { global $wpdb; $user_count = $wpdb->get_var( "SELECT COUNT(*) FROM $wpdb->daviddgl_wp1.SaveContactForm7_6" )+1; return "17ICLAA".sprintf('%03d',$user_count); } add_shortcode( 'row_count', 'row_count_shortcode' ); …
answered Jan 20 '17 by gloom
1
vote
1answer
the function i have written to count the number of rows in the table. But this is giving the output as 17ICLAA001 all the time whereas in the corresponding table there are more than 2 rows are there … . Is there any problem with this code? Kindly provide a suggestion to improve this code. function row_count_shortcode() { global $wpdb; $wpdb->get_var( 'SELECT COUNT(*) FROM daviddgl_wp1 …
asked Jan 20 '17 by gloom