David Kingma | jool.nl wrote:
Quoting Ante Drnasin <[EMAIL PROTECTED]>:
ex1:
function AddToDb(mysql_scape_string($text)) {
//enter $text to db
}
which would be the same as
function AddToDb($text) {
$text = mysql_escape_string($text);
//enter $text to db
}
ex2:
function removeDigitsFromT
David Kingma | jool.nl wrote:
Quoting Ante Drnasin <[EMAIL PROTECTED]>:
ex1:
function AddToDb(mysql_scape_string($text)) {
//enter $text to db
}
which would be the same as
function AddToDb($text) {
$text = mysql_escape_string($text);
//enter $text to db
}
ex2:
function removeDigitsFromT
I know this concept looks a bit strange but just wanted to hear
oppinions from the experts... :)
This concept looks strange (and non-standard - do any other languages
support this semantic?). It doesn't save you much typing either.
George
--
PHP Internals - PHP Runtime Development Mailing List
Quoting Ante Drnasin <[EMAIL PROTECTED]>:
> ex1:
> function AddToDb(mysql_scape_string($text)) {
> //enter $text to db
> }
> which would be the same as
> function AddToDb($text) {
> $text = mysql_escape_string($text);
> //enter $text to db
> }
>
> ex2:
>
> function removeDigitsFrom
Hi again guys
I would just like to hear you oppinions about something like
this...(please don't shoot me :) )
ex1:
function AddToDb(mysql_scape_string($text)) {
//enter $text to db
}
which would be the same as
function AddToDb($text) {
$text = mysql_escape_string($text);
//enter $