Hi to all.
I am having huge problems running my script, which worked fine on a
server with php 4 and register_globals turned on, on a server with php
5 and register_globals turned off.
I get errors around the area in my script where I use $_GET (not the
only error). For example the following cod
Hi.
I am having problems with a script I wrote which searches keywords
from a field in a mysql db table.
It is a very simple, one-page script. My site is a toplist, very
basic, still in it's infancy. When I go to the page, key in the
keywords and press submit, the head, body etc. part of the re
And the hits_in of the mysql query are the same, I just made a typing mistake.
On 1/7/07, Wikus Moller <[EMAIL PROTECTED]> wrote:
Hi.
I am having problems with a script I wrote which searches keywords
from a field in a mysql db table.
It is a very simple, one-page script. My sit
able WHERE keywords like \"%$trimmed%\" AND
banned='0' and hits_in >='2' ORDER by hits_in DESC LIMIT ".$lmt.", 20;";
// EDIT HERE and specify your table and field names for the SQL query
$sites=mysql_query($sql);
while ($site = mysql_fetch_array($s
Hi.
I am new to uising html forms with php and I am having a problem with
database contents not being updated although it seems my coding is
correct.
It's a xhtml formatted site with html forms:
Here are my functions:
Everything seems to be correct, but the table isn't updated...
";
echo "
The function page IS included on every page so that wouldn't be what
is causing the errors.
On 1/8/07, Wikus Moller <[EMAIL PROTECTED]> wrote:
Hi.
I am new to uising html forms with php and I am having a problem with
database contents not being updated although it seems my coding
Hi.
I have a windows server and I know this issue has been dealt with
before but I can't find it, I want to include a file from a directory
beneath or aside my home directory.
Can I use the C:\directory\anotherdirectory\file.php in the include
function like include "C:\directory\anotherdirectory
Hi.
I want to strip everything after a / in the HTTP_USER_AGENT for
example: Opera 9.10/blah/blah would become only Opera 9.10
Lets say
$user = $_SERVER["HTTP_USER_AGENT"];
$browser = ("/", $user);
Is this correct?
Isn't something needed in the browser variable?
Thanks
Wikus
--
PHP General Ma
Hi.
Since this is a mailing list for web developers, I thought I might as
well post an o f f t o p i c request.
Does anyone know of any website where I can get a exe or jar sitemap
generating software? Particularly not GsiteCrawler as it uses too much
system resources. A java applet would be nic
Hi.
I want to know if anyone can help me with my code which matches a
number to a range e.g. 1-15 and echoes an image if the number is in
the range.
The code would use the if statement and check if a variable for
example 5 matches the range like 4-10 and if it does it echoes a
certain image.
A
Hi.
I want to know if anyone can help me with my code which matches a
number to a range e.g. 1-15 and echoes an image if the number is in
the range.
The code would use the if statement and check if a variable for
example 5 matches the range like 4-10 and if it does it echoes a
certain image.
A
11 matches
Mail list logo