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
);
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
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
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
($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
($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
$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
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
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
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:
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:
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
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
13 matches
Mail list logo