On 28 November 2005 19:28, Jim Moseby wrote:
Damn! It Worked. Thanks :)
Even so, John's excellent advice should still be taken. You should
not generally code with a dependence on register_globals, for reasons
you have just seen.
Also, it seems likely that register_globals will go
Hello,
This page works on a operator hosted production server but not my own test
server. I have no idea what's causing this and I REALLY need some help or
ideas what to check.
This is the browsers address line:
http://localhost/index.php?team=F10a
I have this in my page and it doesn't work:
[snip]
http://localhost/index.php?team=F10a
I have this in my page and it doesn't work:
$sql = select jouk_nimi from x_jun_jouk where jouk_id='$team' ;
$kysely = mysql_query($sql);
$tulos = mysql_fetch_row($kysely);
$jouk_nimi = $tulos[0];
$jouk_nimi -variable will be empty.
This works
On Mon, Nov 28, 2005 at 08:37:36PM +0200, William Stokes wrote:
...
I have this in my page and it doesn't work:
$sql = select jouk_nimi from x_jun_jouk where jouk_id='$team' ;
$kysely = mysql_query($sql);
$tulos = mysql_fetch_row($kysely);
$jouk_nimi = $tulos[0];
$jouk_nimi -variable will
OK. Where can I change the register_globals setting?
Thanks for the fast replies.
-Will
Jay Blanchard [EMAIL PROTECTED] kirjoitti
viestissä:[EMAIL PROTECTED]
[snip]
http://localhost/index.php?team=F10a
I have this in my page and it doesn't work:
$sql = select jouk_nimi from x_jun_jouk
[snip]
OK. Where can I change the register_globals setting?
[/snip]
In the php.ini
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
William Stokes wrote:
OK. Where can I change the register_globals setting?
snip
In the php.ini and/or in a .htaccess (if you're using Apache, and that
Apache server is configured to allow such changes in a .htaccess).
However, let me be the fist to suggest that you leave register_globals
Damn! It Worked. Thanks :)
Jay Blanchard [EMAIL PROTECTED] kirjoitti
viestissä:[EMAIL PROTECTED]
[snip]
OK. Where can I change the register_globals setting?
[/snip]
In the php.ini
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
This page works on a operator hosted production server but
not my own test
server. I have no idea what's causing this and I REALLY need
some help or
ideas what to check.
This is the browsers address line:
http://localhost/index.php?team=F10a
I have this in my page and it doesn't
Damn! It Worked. Thanks :)
Even so, John's excellent advice should still be taken. You should not
generally code with a dependence on register_globals, for reasons you have
just seen.
JM
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
You should not generally code with a dependence on register_globals
OK. I have to consider that. Apparently the, ISP's production server has
this setting on. Don't know why...
-Will
Jim Moseby [EMAIL PROTECTED] kirjoitti
viestissä:[EMAIL PROTECTED]
Damn! It Worked. Thanks :)
Even so,
Hi there,
I'm moving an application from Windows - Linux, and am having a problem
with the database. I have the following script to test my database
connection (Linux):
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
$connection = mysql_connect(localhost,,) or die
Lee P. Reilly wrote:
Hi there,
I'm moving an application from Windows - Linux, and am having a problem
with the database. I have the following script to test my database
connection (Linux):
-=-=-=-=-=-=-=-=-=-=-=-=-=- snip =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
I'd put in a
Your MySQL servers may be set to refuse anonymous connections.
Mike
Chris Hewitt [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Lee P. Reilly wrote:
Hi there,
I'm moving an application from Windows - Linux, and am having a problem
with the database. I
hi all!
i have the following problem:
1.im loading 5 colums from a mysql-table into an array:
$threads = db_query(SELECT title, date, body, poster, board_posts_ID FROM board_posts
WHERE msgkind = 'thr'
ORDER BY date DESC);
everything fine so far...
2.im trying to list them line
15 matches
Mail list logo