shlomikalfa Posted August 22, 2007 Share Posted August 22, 2007 hey guys, i'm new to php but i'm programing in VB and i need to know how can i reach my MYSQL DB via a php page... - can i just ping the address ?! EG: ping(www.myhost.home/script.php?Data1="something"&Data2="somethingelse") - i know i can download that address and it'll work... any other way ?! Quote Link to comment https://forums.phpfreaks.com/topic/66235-solved-how-do-i-reach-my-php-page-sending-data-to-mysql-db-how/ Share on other sites More sharing options...
Zane Posted August 22, 2007 Share Posted August 22, 2007 If you're looking to administrate your database then you should look at a few tools out there .... phpMyAdmin http://phpmyadmin.net MySQL Quick Admin http://mysqlquickadmin.com/ if you want to make a PHP script retrieve information out of a database you'll need to look at the mysql_connect, mysql_query, and mysql_fetch_array functions Quote Link to comment https://forums.phpfreaks.com/topic/66235-solved-how-do-i-reach-my-php-page-sending-data-to-mysql-db-how/#findComment-331298 Share on other sites More sharing options...
shlomikalfa Posted August 22, 2007 Author Share Posted August 22, 2007 sorry mate but you didn't quite understood me... -> i know how to get data from my DB... --> I want to send data to my DB! i've came to know that i can do that by downloading the php link as mentioned above - but is there any other useful way ?! please help me MASTAH Quote Link to comment https://forums.phpfreaks.com/topic/66235-solved-how-do-i-reach-my-php-page-sending-data-to-mysql-db-how/#findComment-331305 Share on other sites More sharing options...
Hypnos Posted August 22, 2007 Share Posted August 22, 2007 ping has nothing to do with webpages. It's just a testing tool to see if a device on a network (regardless of type) is alive. You aren't really "getting data" from your database with that. You're loading a webpage that happens to read from your database. If you want to directly make changes or read from the database, use the mysql-client from the console (you have to know SQL) or use something like phpmyadmin. Sounds like you need to do some more research in to what you're getting in to. Quote Link to comment https://forums.phpfreaks.com/topic/66235-solved-how-do-i-reach-my-php-page-sending-data-to-mysql-db-how/#findComment-331423 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.