> -----Original Message----- > From: Bavithra R [mailto:bavithra.r@xxxxxxxxx] > Sent: Monday, July 26, 2010 7:39 AM > To: php-db@xxxxxxxxxxxxx > Subject: input statement in php > > hi friends.. > > > Is there any equivalent statement in php for "scanf" or > "cin" in c or c++? > That is without using html and creating forms. > > > Thanks in advance > regards > --Bavithra.R There unfortunately isn't any scanf() but if you're trying to get user input on a CLI, then you can either use the argv/argc options or do something like this tutorial does. http://www.ehow.com/how_5321606_prompt-line-interface-using-php.html -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php