kk580 Posted March 19, 2008 Share Posted March 19, 2008 i want to update some record to my database (ms sql) i need to check some data first in as400 if the data not exists in my ms sql then i need to update the data to the database so i need to link to as400 first thanks for your help Here is my code <?php $connect = odbc_connect("AS400", "******", "*******") or die("No connection made."); odbc_close($connect); ?> anyone can help ? thanks Quote Link to comment Share on other sites More sharing options...
Cep Posted March 19, 2008 Share Posted March 19, 2008 Nice, you might want to remove your password and username details. What is your script supposed to do except connect and then close? Quote Link to comment Share on other sites More sharing options...
kk580 Posted March 19, 2008 Author Share Posted March 19, 2008 first i want to compare the information of AS 400 with my MS SQL data , if the data in AS400 does not exist in my SQL server then will add the date to SQL server. thanks your help and how cna i delete the pwd and username there ? thx Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.