I assume you mean how do you display a British Pound in HTML
The escape
£
Should do what you want.
HTH
Richy
==
Richard Black
Senior Developer, DataVisibility Ltd - http://www.datavisibility.com
Tel: 0141 951 3481
Email: [EMAIL PROTECTED
ers.
Cheers,
Richy
==========
Richard Black
Senior Developer, DataVisibility Ltd - http://www.datavisibility.com
Tel: 0141 951 3481
Email: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Christian,
PHP code runs on the server, so any of the date/time functions which the
language provides will give you the date/time on the server, rather than
the client.
HTH,
Richy
==
Richard Black
Senior Developer, DataVisibility Ltd - http
owing plenty of alternatives - or at least understanding what
you're doing enough to be able to think of alternatives - and thinking
about stuff rather than just doing it the way you always did are the key
points here.
Just my tuppence...
Richy
==========
Richard Bl
echo $and.$c." ".$color."";
}
(I've condensed the multiple echo statements into one to reduce the
number of lines, but this is more about the logic)
Depending on what your query is searching on and returning, you may be
able to do it in a single query.
HTH,
Richy
Can you provide a bit more info??? Maybe a real life example of what
you're trying to accomplish???
Richy
==
Richard Black
Senior Developer, DataVisibility Ltd - http://www.datavisibility.com
Tel: 0141 951 3481
Email: [EMAIL PROTECTED]
-Ori
I don't know anything about Visual Foxpro, so I may be barking up the
wrong tree here, but...
Is there anyway you can use ODBC??? The ODBC functions work pretty well.
HTH,
Richy
==
Richard Black
Systems Programmer, DataVisibility Ltd -
_start AND booking_end
B is '$book_end_date' BETWEEN booking_start AND booking_end
C is villa_id = '$place'
HTH,
Richy
======
Richard Black
Systems Programmer, DataVisibility Ltd - http://www.datavisibility.com
Tel: 0141 435 3504
Email: [EM
out the PHP manual - http://www.php.net/manual/ - for more info
HTH,
Richy
==
Richard Black
Systems Programmer, DataVisibility Ltd - http://www.datavisibility.com
Tel: 0141 435 3504
Email: [EMAIL PROTECTED]
-Original Message-
From: Chris Barnes
Can I make a function private in PHP, so that it can only be called from
within an object of that class???
Just discovering the wonders of OO PHP... :-)
==
Richard Black
Systems Programmer, DataVisibility Ltd - http://www.datavisibility.com
Tel: 0141 435
TH,
Richy
======
Richard Black
Systems Programmer, DataVisibility Ltd - http://www.datavisibility.com
Tel: 0141 435 3504
Email: [EMAIL PROTECTED]
-Original Message-
From: Tim Stoop [mailto:[EMAIL PROTECTED]]
Sent: 14 August 2002 14:27
To: [EMAIL PROTECTED]
Sub
Doesn't md5 generate a 128 bit binary number???
That means there are 3.4028236692093846346337460743177e+38 possible
combinations which can be generated. So surely the odds of 2 strings
producing the same md5 code are 1 in
3.4028236692093846346337460743177e+38???
Having said that, I guess diction
Or even
header("Location: index.php?var=value&var2=value2");
And you would probably want to follow that with
exit;
Rather than
break;
HTH,
Richy
======
Richard Black
Systems Programmer, DataVisibility Ltd - http://www.datavisibility.com
keys (and obviously array_values too)
be $fruit_array_of_choice, and not just $fruit_array???
That might stop the warnings...
HTH,
Richy
==
Richard Black
Systems Programmer, DataVisibility Ltd - http://www.datavisibility.com
Tel: 0141 435 3504
Email: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Anyone else having trouble getting to http://bugs.php.net ???
==
Richard Black
Systems Programmer, DataVisibility Ltd - http://www.datavisibility.com
Tel: 0141 435 3504
Email: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To
Sounds more like it's to do with the php.ini settings on the IIS box
than IIS itself.
http://www.php.net/manual/en/configuration.php#ini.error-reporting
HTH,
Richy
==
Richard Black
Systems Programmer, DataVisibility Ltd - http://www.datavisibilit
ps to
evaluate it for me. So not only did that section of the report get
virtually written for me, but I got some fantastic feedback and ideas.
Just my 2p...
==
Richard Black
Systems Programmer, DataVisibility Ltd - http://www.datavisibility.com
Tel: 0141 435
You can do it with JavaScript. Something like:
document.formname.fieldname.focus();
At the bottom of the page, replacing formname and fieldname with the
appropriate values, obviously...
HTH
Richy
==
Richard Black
Systems Programmer, DataVisibility Ltd
= " AND ";
}
if ($select3 != "") {
$where_string .= $and."col3 = '".addslashes($select3)."'";
$and = " AND ";
}
if ($where_string != "WHERE ") {
$query .= $where_string;
}
And then run the query as normal.
HTH,
Why is that a javascript problem?
It may be that the guestbook expects the action variable to be
registered as a global variable, but your server has this feature turned
off.
What is it not ddoing correctly??
Richy
==
Richard Black
Systems Programmer
y, for all I know this may have been addressed already...
Richy
======
Richard Black
Systems Programmer, DataVisibility Ltd - http://www.datavisibility.com
Tel: 0141 435 3504
Email: [EMAIL PROTECTED]
-Original Message-
From: Ed Gorski [mailto:[EMAIL
You can use COM, if you're running on a Windows server. Haven't tried it
myself, right enough...
======
Richard Black
Systems Programmer, DataVisibility Ltd - http://www.datavisibility.com
Tel: 0141 435 3504
Email: [EMAIL PROTECTED]
-Origin
.
Richy
==
Richard Black
Systems Programmer, DataVisibility Ltd - http://www.datavisibility.com
Tel: 0141 435 3504
Email: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
g global,
since to be registered in the session it has to be a global variable in the
first place.
HTH,
Richy
======
Richard Black
Systems Programmer, DataVisibility Ltd - http://www.datavisibility.com
Tel: 0141 435 3504
Email: [EMAIL PROTECTED]
-Original
in reg(), test=<13>
session variable test=<12>
Because $HTTP_SESSION_VARS gets populated. Its something to do with HTTP
headers I think - can't remember exactly why, but I know what happens.
HTH,
==
Richard Black
Systems Programmer,
obals() is only applicable to global variables.
HTH,
Richy
==========
Richard Black
Systems Programmer, DataVisibility Ltd - http://www.datavisibility.com
Tel: 0141 435 3504
Email: [EMAIL PROTECTED]
-Original Message-
From: Richard Fox [mailto:[EMAIL PROT
Ooops...
$i < $passengerNumberl
should of course read
$i < $passengerNumber;
But you guessed that anyway, right???
Richy
-Original Message-
From: Richard Black [mailto:[EMAIL PROTECTED]]
Sent: 04 March 2002 14:03
To: Richard Bradley; [EMAIL PROTECTED]
Subject: RE: [PHP]
ist of passengers first, and then use that string as the
message body???
HTH,
Richy
==========
Richard Black
Systems Programmer, DataVisibility Ltd - http://www.datavisibility.com
Tel: 0141 435 3504
Email: [EMAIL PROTECTED]
-Original Message-
From: Ri
Swap round the " and \ before the number 10
ie
"\10\" should be \"10\"
HTH,
Richy
==========
Richard Black
Systems Programmer, DataVisibility Ltd - http://www.datavisibility.com
Tel: 0141 435 3504
Email: [EMAIL PROTECTED]
-Original
The problem isn't php related - its HTML.
Try changing for
The semicolon is, strictly speaking, required for proper HTML syntax, but IE lets you
get away with not having it.
I guess Netscape doesn't.
HTH,
Richy
======
Richard Black
Systems
e 0 in SQLPrimaryKeys
I don't really know what the modifier and owner parameters should do, and
suspect thats where the problem lies. I tried them as "", "%" and " ".
Running PHP 4.0.4 on NT 4.0 Workstation, with Access 97
Richy.
======
would not.
Whats the most compact way to do this? substr? ereg?
Richy
======
Richard Black
Systems Programmer, DataVisibility Ltd - http://www.datavisibility.com
Tel: 0141 435 3504
Email: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.ph
Doesn't putting a backslash in front of the offending character escape it??
Isn't that what the PHP addslashes() function does???
Richy
-Original Message-
From: Daniel Harik [SMTP:[EMAIL PROTECTED]]
Sent: 03 January 2002 19:00
To: [EMAIL PROTECTED]
Subject:[PHP] special
As far as I'm aware PHP does output to stdout. Whether or not we can
actually access that stream is another question, and one I don't know the
answer to.
However, I do have a suggestion... Have you looked at the output buffering
functions? They seem to implement what you're trying to do...
h
go about it.
Any suggestions, pointers??? All the documentation I've come across thus
far doesn't really cover anything like this
Richy
==========
Richard Black
Systems Programmer, DataVisibility Ltd - http://www.datavisibility.com
Tel: 0141 435 3504
Em
Don't think thats necessarily true - what about news.bbc.co.uk or games.yahoo.com.
Neither of them fits into the spec you described there...
Richy
-Original Message-
From: Jerry Verhoef (UGBI) [SMTP:[EMAIL PROTECTED]]
Sent: 19 December 2001 08:41
To: 'Chris Lee'; [EMAIL PROTECT
You can get the URL of a frame using JavaScript - maybe you could pass this in somehow
to the PHP script???
-Original Message-
From: Necro [SMTP:[EMAIL PROTECTED]]
Sent: 17 December 2001 08:59
To: [EMAIL PROTECTED]
Subject:[PHP] Checking a frames url..
Lo all,
I am tryi
Um, excuse me for pointing out the obvious, but isn't that the 4.0.6
Windows binaries? And wasn't the question about the 4.1.0 Windows
binaries???
Which aren't on php.net yet..
Richy
-Original Message-
From: Stefan Rusterholz [SMTP:[EMAIL PROTECTED]]
Sent: 11 December 2001 10
The timeout is set in php.ini
-Original Message-
From: Christoph Starkmann [SMTP:[EMAIL PROTECTED]]
Sent: 06 December 2001 17:09
To: [EMAIL PROTECTED]
Subject:[PHP] Maximum execution time of 30 seconds exceeded
Hi everybody!
I wrote a script just to do some local replac
MySQL has a PASSWORD() function which encrypts passwords for you!!!
Retrieving the user records using the username and encrypted password as
selection criteria will either bring back the appropriate record (ie the
log in worked) or no record (ie password/username supplied were incorrect)
HTH
I would hazard a guess that you have supplied a username/password/host
combination that isn't valid.
Check in the mysql.user table, and check that there is an entry there for
the user and host. Thepassword should be encrypted so you won't know if its
what you're typing, but you should be able
Try using the flush(); function. It flushes all output to the browser, and allows
exactly the type of thing you're talking about here
-Original Message-
From: Darren Gamble [SMTP:[EMAIL PROTECTED]]
Sent: 23 November 2001 16:17
To: '[EMAIL PROTECTED]'
Subject:[PHP] Display
I've been using phpmyadmin 2.2.1 and found that importing data from a
script requires you to be at the main page for the database, rather than
the table page. Submitting it via the table page says it was executed
successfully, but it wasn't.
Haven't had time to look at whats causing it.
I h
Ming comes with a utility called swf2php or something like that, which MAY
be able to convert a SWF file to PHP script that you can then work with. I
say MAY, because the results are sometimes a bit unpredictable, and certain
Flash constructs can cause it to fail miserably.
But you might be lu
Theres the Zend Encoder, but this is a bit pricey if you don't have a
company to pay for it. Don't know if theres any free alternatives or not
-Original Message-
From: Ye Tun [SMTP:[EMAIL PROTECTED]]
Sent: 14 November 2001 11:39
To: [EMAIL PROTECTED]
Subject:[PHP] keeping
Hi, I'm hoping someone can help me with this one...
I'm doing redirects to various types of file (Flash, Office, DWF etc) and
have found a problem with IE5.
I pass the script a document ID, and it retrieves the document record from
a database, which stores the location of the file on the web s
Try putting curly brackets around the if and else clauses. I'm guessing the
embeded html form counts as another statement in the program, which means
you want to execute 2 statements if the strstr is true. I ALWAYS use curly
brackets, even if I'm only executing one statemenet in my if, and I've
Hi,
Can anyone tell me the latest on whether or not PHP can talk tirectly to
Lotus Domino/Notes???
I've had a look through the archive, and as far as I can see there was a
project to do this which was going to be made available at the start of the
year, but I've not seen any mention of this m
Try putting single quotes around the strings:
$Query = "INSERT INTO table_name (Obj,Descrip) VALUES ('keyboard','Device
to pound on when frustrated.')";
Another thing that would be useful is to use the mysql_error() function in your die,
which will give a better indication of the problem
-O
49 matches
Mail list logo