Loop not showing up on page template

Firstly, use WP_query instead of query_posts: Secondly, for (static) pages use the variable ‘page’ (not ‘paged’). $my_query = new WP_query( ‘post_type=post&posts_per_page=5&paged=’ .get_query_var(‘page’) ); if ( $my_query->have_posts() ) while( $my_query->have_posts() ) : $my_query->the_post(); the_title(); endwhile;

Create a new page for each form selection

I can’t comment yet, so I’ll tell you here what you can change immediately: $countryinfo = $wpdb->get_row(“SELECT * FROM wp_num_countries WHERE countryID = “.$country_id); to $countryinfo = $wpdb->get_row($wpdb->prepare(“SELECT * FROM wp_num_countries WHERE countryID = %d”, $country_id)); because you directly use $_POST variable, so $wpdb->prepare will format and prepare your query string. But that code looks … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)