php-windows Digest 1 Dec 2002 05:18:47 -0000 Issue 1465

Topics (messages 17225 through 17227):

HELPPPP
        17225 by: Andy
        17226 by: erythros

array problem need help quick
        17227 by: DaMouse

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
Can someone please help, i think i am going mad.

I have just installed Apache, php and Mysql, it all seems to be fine, the

Apache server says it is ok, i think i have set the config file correctly,

and Mysql look to be correct, but when i typed the code (My first code)

<?php echo "this is a php line"; phpinfo(); ?>

and save it test.php when i look at it in explorer all i see the preceding

html code. What have i done wrong?

I am using windows 2000 pro.

I really want to get into this but i have fallen over the first hurdle, and
i cannot seem to get up.



--- End Message ---
--- Begin Message ---
k did you add

    AddType application/x-httpd-php .php

to your httpd.conf file? this is so apache knows to parse files with the
.php extension

"Andy" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Can someone please help, i think i am going mad.
>
> I have just installed Apache, php and Mysql, it all seems to be fine, the
>
> Apache server says it is ok, i think i have set the config file correctly,
>
> and Mysql look to be correct, but when i typed the code (My first code)
>
> <?php echo "this is a php line"; phpinfo(); ?>
>
> and save it test.php when i look at it in explorer all i see the preceding
>
> html code. What have i done wrong?
>
> I am using windows 2000 pro.
>
> I really want to get into this but i have fallen over the first hurdle,
and
> i cannot seem to get up.
>
>
>


--- End Message ---
--- Begin Message ---
I need help with a array problem I want one array to be sorted and another taking its same number order e.g.
$ar1[0] == "marmite"; $ar2[0] == 10;
$ar1[1] == "jam"; $ar2[1] == 11;
$ar1[2] == "beef"; $ar2[2] == 7;
$ar1[3] == "cabbage"; $ar2[3] == 0;
$ar1[4] == "ick"; $ar2[4] == 5;
 
sort($ar2,SORT_NUMERIC); and then make sure that the values of $ar1 are with there vote number counterparts in $ar2 so now
$ar2[0] == 0; $ar1[0] == "cabbage";
 
please help
O
Ensign Baker
HCO Officer
USS Atlantis
--- End Message ---

Reply via email to