Include custom fields into the content of a regular page

where are you setting $ecpt_challenge, $ecpt_solution and $ecpt_results?

also get_post_meta($post->ID, 'ecpt_goal', false); returns an array, so use

print_r ( get_post_meta($post->ID, 'ecpt_goal', false));

OR for single result pass “true” in the last argument.

 echo get_post_meta($post->ID, 'ecpt_goal', true);

reference: get_post_meta() @codex

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