[PHP] Dll on Visual Basic
Hi, Basically, what I want to do is call php4ts.dll (or whatever) to use highlight_string/file function on Visual Basic and return it on a ritchtextbox. Is this possible? Help! Regards, Edgardo Rossetto -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Strange problem...
Hola Daniel: Te escribo en castellano ya que veo que el inglés no es tu idioma natural. Creo que el error se produce al concatenar las variables, acordate que para indicar que las variables con cadenas tenés que encerrarlas entre , yo lo definiría así: $user_birthdate = $birth_year-$birth_month-$birth_day; // 1982-12-08 Saludos Edgardo Daniel alsén [EMAIL PROTECTED] escribió en el mensaje [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, i have a strange problem. I get a users birthdate with three dropdown menus (year, month and day of month). I get these values into one string with: $user_birthdate = $birth_year . $birth_month . $birth_day; If i echo $user_birthdate after this it is correct (mmdd). But when i insert the value of $user_birthdate into MySql it gets the value '8388607'. It doesn´t matter what value $user_birthdate had originally - it always inserts as 8388607. Any ideas??? The db question looks like this btw: $query = INSERT INTO users ; $query .= (user_name, user_birthdate, user_city, user_mail, user_icq, user_msn, user_www, user_login, user_password) ; $query .= values('$user_name', '$user_birthdate', '$user_city', '$user_mail', '$user_icq', '$user_msn', '$user_www', '$user_login', '$user_password'); Regards # Daniel Alsén| www.mindbash.com # # [EMAIL PROTECTED] | +46 704 86 14 92 # # ICQ: 63006462 | +46 8 694 82 22 # # PGP: http://www.mindbash.com/pgp/ # -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] array_merge();
Hi: I have a problem width array_merge(); in PHP 4 beta 2 (my ISP sucks, sorry) and i need to know if there's a similar function o way to do this. Please help me! Bye Edgardo Rossetto -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Re: array_merge();
Edgardo Rossetto [EMAIL PROTECTED] escribió en el mensaje [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi: I have a problem width array_merge(); in PHP 4 beta 2 (my ISP sucks, sorry) and i need to know if there's a similar function o way to do this. Please help me! Bye Edgardo Rossetto with, sorry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] array_merge();
It works, thanks. Edgardo Brian Clark [EMAIL PROTECTED] escribió en el mensaje [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi Edgardo, @ 8:09:26 AM on 11/21/01, Edgardo Rossetto wrote: I have a problem width array_merge(); in PHP 4 beta 2 (my ISP sucks, sorry) and i need to know if there's a similar function o way to do this. There's probably a faster/elegant way to do this, but this should work: ?php function arraymerge($one,$two) { while(list(,$x) = each($one)) { $merged[] = $x; } while(list(,$y) = each($two)) { $merged[] = $y; } return $merged; } /* example: */ $one = array('foo','baz','bar'); $two = array('baz','foo'); $merged = arraymerge($one,$two); while(list(,$val) = each($merged)) { print $val ; } ? -- -Brian Clark | PGP is spoken here: 0xE4D0C7C8 Please, DO NOT carbon copy me on list replies. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]