Thread: How do I perform MySQL functions using C from an HTML file?

  1. #1
    Registered User
    Join Date
    Mar 2012
    Posts
    13

    How do I perform MySQL functions using C from an HTML file?

    So I've already created my HTML site and a c program which can parse its inputs. I've also already made a table in SQL and my c program is also able to print its contents. But how do I perform select, update, and delete SQL functions using c programming using values from the HTML file?

    Can anyone please give me a sample code on how to perform each function using values from HTML and inputting it to SQL using C program?

    Thank you!

  2. #2
    Registered User
    Join Date
    May 2012
    Posts
    1,066
    Quote Originally Posted by Karyumi View Post
    So I've already created my HTML site and a c program which can parse its inputs. I've also already made a table in SQL and my c program is also able to print its contents. But how do I perform select, update, and delete SQL functions using c programming using values from the HTML file?
    How do you print the contents of the table within your C program without knowing how to use SELECT in it?

    Anyway, look at MySQL C API programming tutorial and MySQL C API.

    Bye, Andreas

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Mysql And HTML ?
    By amreci in forum C Programming
    Replies: 5
    Last Post: 05-13-2012, 10:39 AM
  2. MySQL C API Header File Problems
    By WarrenKeyes3 in forum C Programming
    Replies: 3
    Last Post: 03-26-2009, 02:26 PM
  3. How to get the name of the html file?
    By ToniShinobi in forum C++ Programming
    Replies: 4
    Last Post: 03-15-2008, 02:32 PM
  4. can`t get mysql functions working in c++
    By markg85 in forum C++ Programming
    Replies: 4
    Last Post: 05-29-2006, 02:09 PM
  5. writing to a mysql file
    By crescen7 in forum C Programming
    Replies: 3
    Last Post: 06-19-2002, 07:55 AM