textbox how to get currentdate value?

It depends what format you want it in but...

echo date("Y/m/d");

Take a look at dete method of PHP http://php.net/manual/en/function.date.php.You can choose any of the date format.Example of it with textbox showing its value is shown below

<?php
$date = date("Y/m/d");
echo "<input type='text' value='$date'>";
?>

Edit: Already shown in above post of pixelsoul.

tnx

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.