Jump to content

Next Step after creating a table??


Realist

Recommended Posts

Ok, so I'm trying to create a gaming ladder for my site. I've never created a database before so I'm learning all of this on the fly. I've went into phpmyadmin and created a new database and table. I've also added fields. Now I dont know what I'm suppose to do next. I would like to add it to my site just to test it out to see if i'm even on the right track but I dont know how. Can someone help me out?

 

:facewall:

Link to comment
https://forums.phpfreaks.com/topic/169394-next-step-after-creating-a-table/
Share on other sites

Since he is obviously learning it from scratch, why not point him to the correct up-to-date way of connecting to a mysql database which is mysqli?

 

you can find examples and ways to connect to and manipulate (get data in, out, change them etc a.k.a CRUD) here:

 

Connect to database with mysqli - PHP Manual

 

 

Since he is obviously learning it from scratch, why not point him to the correct up-to-date way of connecting to a mysql database which is mysqli?

 

He hasn't mentioned which version of MySQL or PHP he is using, so I chose the more compatible functions. Realist, if you're using MySQL 4.1.3+ and PHP 5.0.0+ it is recommended (though not required) to use mysqli_* over mysql_*.

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.