Ultimate Sidebar

How to Add Data into Columns in PHP

104 1
    • 1). Open your favorite text editor. It should be able to save to arbitrary file formats, but otherwise has no requirements.

    • 2). Copy the following code into your text editor:

      mysql_query("Insert into TableName (column names) VALUES (values matched to column names")

      Fill in the fields "TableName," "column names," and "values matched to column names" with information from your database.

    • 3). Save the file and upload it to your server. Visit the page in a Web browser. It will execute the query and add the data given to the designated database columns.

Source: ...
Subscribe to our newsletter
Sign up here to get the latest news, updates and special offers delivered directly to your inbox.
You can unsubscribe at any time

Leave A Reply

Your email address will not be published.