Page 1 of 1

my questions about PHP

Posted: Tue Aug 29, 2006 5:46 am
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

Re: my questions about PHP

Posted: Tue Aug 29, 2006 6:48 am
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

Posted: Tue Aug 29, 2006 8:29 am
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