RE: [PHP-DB] input statement in php

[email protected] ("Daevid Vincent")
Newsgroups php.db
Message-ID <[email protected]>
> -----Original Message-----
> From: Bavithra R [mailto:[email protected]] 
> Sent: Monday, July 26, 2010 7:39 AM
> To: [email protected]
> Subject: [PHP-DB] 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.