hello,
i'm trying to do something like
$tmparray = array("foo", "foo1", "foo2");
if ($i in $tmparray) then do something
..
but i dont know how to do it.
any help would be appriciated
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Hello,
is it possible to register array in session .. something like that:
session_register(ex_array[field1]);
session_register(ex_array[field2]);
this example of course doesnt work :), so if anyone knows a solution, plz
tell
thx
--
PHP General Mailing List (http://www.php.net/)
To
if (!eregi(^[[:alpha:]]$, $HTTP_POST_VARS[vpis_ime]))
echo wrong char;
why does this always return wrong char no matter what value is in vpis_ime
... i tried blah, 242234 bla242h .. every single time i get wrong
char. im using PHP 4.1.2
basicly is what i want is to check string if it contains
One simple question:
I need to use the same socket connectin in 2 different scripts, is that
possible ? and if YES, then how to do it ?
for example:
i have login.php where i do
$socket_handle = fsockopen($server, $port);
now in add.php i would like to send msg to $socket_handle socket...
hello,
ok heres the thing ;)
lets say i have array(part1, part2, part3, part4);
now i have string like
$string = here's PART and heres PART, another PART here and final PART
here;
now i wanna replace first PART in string with part1 from array and second
PART with part2 from array ...
one more
hello,
let me try to explain my problem..
i have one script in which i set some stuff like sessions and some
cookies...
now i need to call this script from almost every page on my site somehow
like
lets say i'm on page www.url.com/script.php?page=14 and then i call that
other function
hello, i need to replace some words in file with [tag]word[/tag] and other
words with [sample]word[/sample].
i have a list of words which i need to replace with [sample] tags declared
like
$words = 'word1|word2|word3|word4';
replacing those words is easy i just use preg_replace('/\b( ' . $words
[/tag] [sample]test[/sample].
1231 should stay the same, without tags.
thx
[EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hello Gregor,
On 13 Jan 2004 at 15:08, Gregor Jaksa wrote:
hello, i need to replace some words in file with [tag]word[/tag] and
other
words with [sample]word
Can anyone provide me with some link or code on how to deal with nested
tags.
thx!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
HTML tags.
I can have something like
table
first
table
second table
/table
table
/table
and i need to convert each table/table tags into something more user
friendly.
David T-G [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
--
PHP General Mailing List
10 matches
Mail list logo