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!
ALTER TABLE tbl_name ADD [CONSTRAINT symbol] FOREIGN KEY [index_name] (index_col_name,...)
can u plz. tell me what is [index_name] and [index_col_name]
i have one more question.
i never used @ sign in php and today i say this code which is using @ sign
can any one explain this to me.
<?php
/* Intentional file error */
$my_file = @file('non_existent_file') or
die ("Failed opening file: error was '$php_errormsg'");
// this works for any expression, not just functions:
$value = @$cache[$key];
// will not issue a notice if the index $key doesn't exist.
?>