[PHP] Question about sqli class

2007-12-30 Thread alvaro
I don´t know if this is the correct place to ask this questions but I haver some doubts about using mysqli class in php. I am designing a web place using wamp2 (php5, mysql 5.0.x ). My databases have been done using phpmyadmin so they are normal mysql, I mean that I have done nothing with

Re: [PHP] Variables not working!

2004-01-28 Thread Alvaro Zuniga
); extract($_ENV); extract($_COOKIE); } } --- Alvaro Zuniga Information Technology Professional (337) 654 6515 www.zunitek.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] open php from

2003-08-29 Thread Alvaro Martinez
Hi! I'm a beginner. I want to redirect from one php page to another php page and I dont know what method to use. How can I do it? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] open php from

2003-08-29 Thread Alvaro Martinez
Thank you to you them all Curt Zirzow [EMAIL PROTECTED] escribió en el mensaje news:[EMAIL PROTECTED] * Thus wrote Jonathan Pitcher ([EMAIL PROTECTED]): Alvaro, To redirect use the header function (http://www.php.net/header) The call would be something like: header(Location

[PHP] var static

2003-08-28 Thread Alvaro Martinez
($this)) $_miInstancia=new db(); return $_miInstancia; } } I think that the problem is that the var _miInstance is not static and I dont know how to do it. Could you please tell me if there is anything wrong? Thanks. Alvaro -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] var static

2003-08-28 Thread Alvaro Martinez
($this)) $_miInstancia=new db(); return $_miInstancia; } } I think that the problem is that the var _miInstance is not static and I dont know how to do it. Could you please tell me if there is anything wrong? Thanks. Alvaro -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] var static

2003-08-28 Thread Alvaro Martinez
$miInstancia; if (!get_class($miInstancia) == 'db') $miInstancia=new db(); return $miInstancia; } and the call to this class is the next: $conexiondb1=db::getInstancia(); $conexiondb2=db::getInstancia(); In the second call I obtain the same object. Muchas gracias por vuestra ayuda Alvaro

[PHP] php and var statics

2003-08-26 Thread Alvaro Martinez
to obtain only one instance of db class but when I do this...: $conexiondb=db::getInstancia(); $conexiondb=db::getInstancia(); In the two calls I get a new db object. Could you please tell me if there is anything wrong? Thanks. alvaro -- PHP General Mailing List (http://www.php.net

[PHP] Re: php and var statics

2003-08-26 Thread Alvaro Martinez
Ok, I correct the two mistakes but it doesnt works yet. What is character for? Alvaro - Original Message - From: Greg Beaver [EMAIL PROTECTED] To: Alvaro Martinez [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, August 26, 2003 3:58 PM Subject: Re: php and var statics Alvaro

[PHP] Question

2003-07-11 Thread Alvaro Rosales R.
Hi guys,I am new to PHP and I am writing my forst scripts, so maybe this quesetion is a kinda stupid, but it is driving me crazy, can you tell meHow can I set a line break in long line of my code?. thanks in advance! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Long lines

2003-07-11 Thread Alvaro Rosales R.
Hi guys,I am new to PHP and I am writing my first scripts, so maybe this question is a kinda stupid, but it is driving me crazy, can you tell me How can I set a line break in longs line of my code?. thanks in advance! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Problem with PHP 4.0.5

2001-05-07 Thread Alvaro Collado
I have installed PHP4.0.5 in a Red Hat Linux 6.0 with Apache. When I run the test no problem, all is OK, but when I run a html index file in Netscape ( LocalHost ) whith a single code like this ? echo(Anythig); ? nothing was display, nothing. When I change the code for an know error for

[PHP] Problem with PHP 4.0.5

2001-05-07 Thread Alvaro Collado
Mr . John Vanderbeck None of both codes works, all this test were do. The Netscape ingnore all the tags with ? or ?php for echo or print command. Thanks --- Try, ?PHP echo This is a testbr\n; ? Some