Yeah -
then access the variable in page.php -
$_GET['lang'] == "en";
You could then store the language variable in a cookie, session or just pass
it from page to page by calling each page with "page.php?lang=xx".
Craig Roberts
"Kalle Saarinen" <[EMA
use mysql_fetch_rows();
$result="SELECT COUNT(*) FROM pet";
$sql=mysql_query($result);
$number_of_rows = mysql_fetch_rows($sql);
while ($row=mysql_fetch_array($sql)){
$pet_name=$row['pet_name'];
echo ..;
}
Craig Roberts
"Yury B ." <[EMAIL PROTECTED]> wr
inc.php file.
Messy:
Open file1.php from file2.php and read the variable out of it... ***MESSY,
SLOW AND DIRTY***
Craig Roberts
"Kalle Saarinen" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello
>
> I was just wondering how can I get value of a varia
Have a look for MyODBC. I've got Access talking to SQL easily, dont know if
it can be done the other way round.
Craig Roberts
"Skate" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
>
> > how can I connect access database(*.mdb) with php? what is
Have you enabled the module in php.ini?
Uncomment the line
extension=php_ldap.dll
in php.ini (windows..) I think LDAP support needs to be complied in on Linux
but I've never used it so cant say.
Craig Roberts
"Ron Allen" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL P
arted typing
craig :)
"John Ryan" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> yeah, i was thinking that before i decided to post to the newsgroup. i
> thought there was some simple way of doing it and id be wasting my time.
> obviosuly not
>
>
> "
Try something along the lines of
if($current_MM < $MM) {
$age = $calculatedage - 1;
}
you'll also need to do something like this with the day of the month if the
user's bday is in the current month.
at least... i think that works out :$
Craig Roberts
"John Ryan" &l
7 matches
Mail list logo