Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

quick guide to php sql

Status
Not open for further replies.

splitunderstanding

Programmer
Sep 9, 2005
2
SE
Greetings all,

I need, desperatly, to know the basics of php/sql.. I know basics of php and took an sql course a couple of years ago, but I dont know how to implement sql into my apache server with php 5.

First, Do I need a certain tool to make the tables or can it be done purely from within my webserver and php code?

Second, can I do everything from within php? Such as create new tables within a table?

Thanks,
/Split-understanding on romeron and atarax
 
Insufficient data for a meaningful answer.

When you say "php/sql", you are being very vague, as you have not specified which relational database manager you plan on using and because no two SQL-supporting RDBMs operate in the same way.

In general, you should be able to to everything, including creating tables, from within PHP code. But again, without knowing which RDBMS you will use, this question cannot be answered more exactly.

When you say "Such as create new tables within a table", do you mean "Such as create new tables within a database" ?

Want the best answers? Ask the best questions!

TANSTAAFL!!
 
Sorry for my vaugeness, but I'm not so good at english!

Yes, when I said create new tables within table I did mean within the database. That was only a typo from my sid; sorry.


I don't know what RDBMS is, but I believe it might be something like MySQL? If so, then that is what I was planing to use, but I dont know if I need something like anohter plugin/addon for my server or..


** Split understanding running on Romeron 30mg and atarax 25mg ** beginners guide to a better world **
 
MySQL is the database server most-commonly used with PHP.

If you are using MySQL, you can do everything from queries passed from PHP to MySQL. In fact, all MySQL GUI tools do nothing more that build SQL queries from your GUI manipulation and send the query to MySQL.

Want the best answers? Ask the best questions!

TANSTAAFL!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top