my questions about PHP

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
itsmani1
Forum Regular
Posts: 791
Joined: Mon Sep 29, 2003 2:26 am
Location: Islamabad Pakistan
Contact:

my questions about PHP

Post by itsmani1 »

What is the difference between $message and $$message

How can we create a database using PHP and mysql?

What are the differences between require and include, include_once?

What is meant by nl2br()?

What is the difference between ereg_replace() and eregi_replace()?

What is the difference between GROUP BY and ORDER BY in Sql?

Thanks
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Re: my questions about PHP

Post by volka »

itsmani1 wrote:What is the difference between $message and $$message
explained at http://www.php.net/language.variables
itsmani1 wrote:How can we create a database using PHP and mysql?
sending a CREATE TABLE statement like any other sql statement. http://dev.mysql.com/doc/refman/5.0/en/ ... table.html
itsmani1 wrote:What are the differences between require and include, include_once?
explained at http://de2.php.net/include
itsmani1 wrote:What is meant by nl2br()?
see: online documentation of this function.
itsmani1 wrote:What is the difference between ereg_replace() and eregi_replace()?
see: online documentation of this function. Please note the hints to use pcre instead of posic regexs at http://de2.php.net/manual/en/ref.regex.php
itsmani1 wrote:What is the difference between GROUP BY and ORDER BY in Sql?
Both explained at http://www.w3schools.com/sql/default.asp
User avatar
Obadiah
Forum Regular
Posts: 580
Joined: Mon Jul 31, 2006 9:13 am
Location: Ashland, KY
Contact:

Post by Obadiah »

if you have a program like xampp you can use phpmyadmin and set it up that way....i found it to be a bit less confusing
Post Reply