Jump to content

[SOLVED] How Do I Reach My PHP Page ?! sending data to MySQL DB - how ?!


Recommended Posts

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 ?!

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

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  ;D

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.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.