i have thi function :
<?php
function getmypost($number)
{
query_posts('p=1828');
while (have_posts()) : the_post();
the_title('<h1>', '</h1>');
the_content();
endwhile;
}
?>
i need to make the 1828 as a variable i have try :
query_posts('\'p='. $number .'\'');
it does not work.... what can be the RIGHT way to do that ?