I think that will erase all the spaces.
Trim should erase leading and trailing white spaces
oopps
your answer is correct, the other user requested to delete all spaces.
User Profile
Collapse
-
The previous link is very useful :)
You have to configure Data Source Name.
Start -> Control Panel -> Administrative Tools -> Data Sources (ODBC)
click on tab: ["System DSN"] Fill the Required DataLeave a comment:
-
Hi,
the correct word is: 'injection'
check this resource:
http://en.wikipedia.or g/wiki/SQL_injection
SvetLeave a comment:
-
printf() is not needed, you may use echo().
Basically you need following code before the echo() function
[php]
$max_dots = 30;
$row['evname'] .= str_repeat('.', abs(strlen($row['evname']) - $max_dots));
[/php]Leave a comment:
-
Hi,
use this instead of str_replace.
We need more complex search and replace functionality so we use PCRE (Perl Compatible Regular Expressions).
[php]
$words=preg_rep lace("/\bave\b/si","avenue", $string);
[/php]
SvetLeave a comment:
-
Hi,
it is very a challenging task.
If you are novice to Perl you should experiment with more simple tasks.
however you may check following search result:
http://search.cpan.org/search?query=ya hoo+mail&mode=a ll
SvetLeave a comment:
-
Hi,
is that what you want ?
[php]
<?php
$row['evdate'] = '070107';
$row['evname'] = 'Shopping';
$row['evplats'] = 'London';
$max_dots = 30;
$row['evname'] .= str_repeat('.', abs(strlen($row['evname']) - $max_dots));
//echo "<option value=\"$row[evdate]\">$row[evdate]$row[evname]$row[evplats]\n</option>";...Leave a comment:
-
hi,
browser uses HTTPS when sending user and password to google site and receives some auth cookies.
about the redirection, here is my suggestion:
[code=perl]
#!/usr/bin/perl
print "Location: http://domain.com\n\n" ;
[/code]
SvetLeave a comment:
-
one of the differences is using ->
normal array
$arr[0] = 1;
annonymous array
$anon_arr->[0];
also you can pass annonymous array as it was a scalar and then dereference it when needed.Leave a comment:
-
....
$buffer = preg_replace('# \bWORD\b#si', 'NEWWORD', $buffer);
....Leave a comment:
No activity results to display
Show More
Leave a comment: