I use this:
function CopyValue(ChangeWhat,ValueToCopy,aForm) {
changer =
window.opener.document.+ aForm + . + ChangeWhat + .value=' +
ValueToCopy.toUpperCase() + ';
eval(changer);
submitme = window.opener.document. + aForm + .submit();
eval(submitme);
window.close();
}
Hi All
I have nearly got this working but it dose not seem to loop though or
return the result
I have done something wrong and I ask one of you coders that are much
cleverer that I to glance over my code to see the obvious mistake / s.
Thank you in advance for any help
Dave Carrera
//
On Monday 20 January 2003 17:50, Dave Carrera wrote:
I have nearly got this working but it dose not seem to loop though or
return the result
I have done something wrong and I ask one of you coders that are much
cleverer that I to glance over my code to see the obvious mistake / s.
Can you
In case you are on a windows machine :
http://www.weberdev.com/index.php3?GoTo=get_example.php3?count=1820
berber
-Original Message-
From: David Rice [mailto:[EMAIL PROTECTED]]
Sent: Sunday, January 19, 2003 5:14 PM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] php - excel
Just a question,
hello,
if you could check this code that would be awesome. i am
getting a parse error on line 16 but line 16 has nothing on it and my
eyes are missing something... maybe my mind. anyway... thank you
again. best, addison
?
session_start();
if
Hello all,
I need a quick script to get the client's browser make and model.
ie 5 ns 4.7 etc.
I've found some info in two books but no examples of how to use it to
get your visitors info. Not coming up with anything helpful on the php site -
will continue to look.
If anyone has done this
there is a lot ways to do it,this is one and not the best of them
create link in the particular category file:
a href=subcat.php?category=1subcat=1subcat 1/a
a href=subcat.php?category=1subcat=2subcat 2/a
then in subcat.php:
include(subcat.$category.$subcat..php);
when you click the 2nd link
Well, it is a global variable/defined by PHP
write a script like this:
?php
phpinfo();
?
and run it. This shoudl shed some light on the situation...
-Brad
Hello all,
I need a quick script to get the client's browser make and model.
ie 5 ns 4.7 etc.
I've found some info in two books but
Could you please identify which line of code is line 16?
-Original Message-
From: zmn [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 20, 2003 10:16 AM
To: [EMAIL PROTECTED]
Subject: RE: [PHP-DB] ghost parse error?
Why in the first place do you break you php and start it over
Use this to get the array in which you can find the var you need:
?php
print pre;
print_r($_SERVER);
print /pre;
?
So this is the var you're looking for:
$_SERVER[HTTP_USER_AGENT];
-Oorspronkelijk bericht-
Van: Mignon Hunter [mailto:[EMAIL PROTECTED]]
Verzonden: maandag 20 januari
Hi,
I have a problem in the response of a php-function.
Here the query on the mysql-prompt.
mysql select * from product_price where product_id=7 and from_price =5;
+--++---++--+---
actually your script shows like a mess in my mail,
so i don't know where line 16 is,but i looking for the error by
eliminating lines that i considered it's right
while ($scrow = mysql_fetch_object($scobj);
and i think may be your problem is here!
--
STOP doing things that
the computer
Your last line in the function returns True, which is 1 internally. This
makes the function return 1 always.
Philip
-Original Message-
From: rhelms@linux [mailto:rhelms@linux]On Behalf Of Ruprecht Helms
Sent: Monday, January 20, 2003 3:37 AM
To: [EMAIL PROTECTED]
Subject: [PHP-DB]
Ruprecht Helms writes:
function select_price($product_id,$quantity) {
--cut--
return True;
}
--cut--
$price=$ps_product_price-select_price($cart[$i][product_id],$cart[$i][quanti
ty]);
//printf(%.2f, $price[product_price]);
printf(%.2f,$price);
you set the
Thanks everybody. That is what I was needing.
Question: Why is it that from an IE client I get the following:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
Why does it say mozilla ???
Here's my code:
Your are currently using: br
?printf ($_SERVER[HTTP_USER_AGENT]); ?br
You are using :
Hey guys,
Does anyone know of script or tutorial to point me to that can obtain
client browser info, (got that part)
but then using php, be able to use if statements to distinguish what
they're using. example msie 5.1 - netscape - aol...And act upon it.
I know the logic but am clueless on the
-Original Message-
From: Mignon Hunter [mailto:[EMAIL PROTECTED]]
Sent: 20 January 2003 16:32
Question: Why is it that from an IE client I get the following:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
Why does it say mozilla ???
The clue here is in the next word:
-Original Message-
From: Mignon Hunter [mailto:[EMAIL PROTECTED]]
Sent: 20 January 2003 17:05
Does anyone know of script or tutorial to point me to that can obtain
client browser info, (got that part)
but then using php, be able to use if statements to distinguish what
they're
Ah, but I wasnt at a mozilla browser, I was accessing this script from a
ie browser client.
From my mozillia client I get the following:
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020918 browser
The script sits on an apache web server?
On Mon, 2003-01-20 at 12:29, Ford, Mike
Hi all,
I have this table which stores products and quantities ordered by
customers, and for billing purposes, I need to fetch not only how many
products but also how many where ordered for each one but not detailed,
but as one big result, so later I can charge for individual gift
packages and
-Original Message-
From: Mignon Hunter [mailto:[EMAIL PROTECTED]]
Sent: 20 January 2003 18:40
Ah, but I wasnt at a mozilla browser, I was accessing this
script from a
ie browser client.
Let me repeat -- that was the IE browser *masquerading* as Mozilla-compatible. ALL
versions
Hi, I had already install mysql and php, the apache was in my linux
distribution (Mandrake) and also one php, but i have install the last
version in rpm.
I have stop and start the apache, and the php works without any problem.
But when i call to a mysql function in the php code its give to me
if ($category = 2 and $subcategory = 52)
{
header(Location:
http://www.vanderbilt.edu/register/ca/vacation_rentals.php;);
}
elseif ($category = 2 and $subcategory = 50)
{
header(Location:
http://www.vanderbilt.edu/register/ca/rentals.php;);
} , etc.
for some reason all the elseifs
Im trying to figure out Sybase and I cant even seem to get past the first
step of connecting
Heres my code:
?php
$con = sybase_connect(localhost, EXP, SQL);
sybase_select_db(EXPADMIN);
$qry = sybase_query(select * from EXP.access, $con);
try to look at your php.ini file, then uncomment this line
extension=php_sybase_ct.dll
and also make sure that you setup your extension directory.
; Directory in which the loadable extensions (modules) reside.
extension_dir = c:\php\
after that, restart your web server.
best regards
--buics
Hi,
I am receiving the mensage Unable to load dynamic library
C:\ApacheGroup\PHP\extensions\php_oci8.dll
I am using Windows XP SPK1 with Apache2.0.43 with PHP4-4.2.3.
I tried to use with Oracle but when I uncomment the line:
extension=php_oci8.dll
I started to receive this mensage:
Unable to
You need to have Oracle client on the machine where PHP is installed.
Edin
Andre Matos [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi,
I am receiving the mensage Unable to load dynamic library
C:\ApacheGroup\PHP\extensions\php_oci8.dll
I am using Windows
You can just as simply include the files you need, there is no need for
using the headers.
Did the script return any errors?
-Oorspronkelijk bericht-
Van: Addison Ellis [mailto:[EMAIL PROTECTED]]
Verzonden: dinsdag 21 januari 2003 1:19
Aan: [EMAIL PROTECTED]
Onderwerp: [PHP-DB] elseif
Any suggestions or improvements to the following code would be much
appreciated. Please send me an email:
function kgtables ()
{
if ($this-connection)
{
$tablelist = ;
$sql = SELECT
29 matches
Mail list logo