If you mean after the page has been sent to the browser, then no, you can do
anything with PHP - you would need javascript for that. However, if you
mean that you want certain items to appear pre-selected, the you can do it
quite simply as follows (I have chosen the simplest example, rather than t
For what do you want to establish a relationship??...just do a inner join or
a natural join in a query and you must achieve the same results than the
relationship in access.
Or if you want you can install de odbc driver for mysql and work with the
tables in access.
Best regards,
Alex
- Origin
php-windows Digest 20 Aug 2003 15:55:19 - Issue 1879
Topics (messages 21191 through 21195):
Re: output a table
21191 by: Svensson, B.A.T. (HKG)
21194 by: Veselina Jecheva
db connection php & mssql & win2k
21192 by: giko
21193 by: Stephen
how to establish rel
May it establish relationship in Mysql as if we can establish relationship
between tables in Access ? If can , please tell me , I use php Myadmin and
EMS Mysql manager version 2.5 , thank you .
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Anthony,
You can use a variable ($i in the example) and increment its value in the
while statement.
Then check its value - if its odd or not - this works:-)
Good luck:-))
Veselina
while($row = odbc_fetch_row($result))
{ $i++;
?>
">
odbc_result($resu
Giko
You will need to tell us what the error message it is you get before we can
help you.
Stephen
- Original Message -
From: "giko" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, August 20, 2003 9:06 AM
Subject: [PHP-WIN] db connection php & mssql &
hi,
i try
$serdb="LOCALMACHINE"; #the name of the SQL Server
$dbdb="dbname"; #the name of the database
$userdb="userdb"; #a valid username
$passdb="passdb"; #a password for the username
# one line
$con=odbc_connect("Driver={SQL
Server};Server=".$serdb.";Database=".$dbdb,$userdb,$passdb)or die("