Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.
<?php $db = realpath("dbase/tracker.mdb"); $db_conn = new COM('ADODB.Connection'); $db_conn->Open("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=".$db); $strSQL = "SELECT * FROM users WHERE username='". $username ."'"; $rs = $db_conn->Execute($strSQL); $userdata = $rs; $rs->Close(); $db_conn->Close(); echo("<td>Logged As: $userdata['firstname'] $userdata['lastname']</td>"); //........ //Later on I'm going to populate different dropdown fields with information based on the particular column name ?>
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.