I've got a primary key area (news_id) in news reports table

it begin with 1, 2, 3, 4 and so forth..

However, I love to switch to 01, 02, 03, 04,e tc ... is the fact that possible?

Otherwise, just how can that be completed in PHP?

Adjusting the secrets directly is an awful idea in 99% of cases.

The easiest method to go is most likely to alter the format when outputting the secrets like proven in this question:

$key = 4;
echo sprintf('%02d', $key); // outputs 04

Whether it's for output, just give a when the primary secret is under 10:

if($result['id'] < 10){
   echo '0' . $result['id'];
}