The Convert.ToInt32(String, IFormatProvider) underneath calls the Int32.Parse. So the only difference is that if a null string is passed to Convert it returns 0, whereas Int32.Parse throws an ArgumentNullException.
Uncategorized .Net general, Basic C#
A session starts by session_start() function.
This session_start() is always declared in header portion. it always declares first. then we write session_register().
Uncategorized PHP
SELECT CURDATE();
SELECT CURRENT_DATE();
SELECT CURTIME();
SELECT CURRENT_TIME();
Uncategorized MySql
SELECT DATEDIFF(NOW(),'2006-07-01');
Uncategorized MySql
GRANT [rights] on [database] TO [username@hostname] IDENTIFIED BY [password]
REVOKE [rights] on [database] FROM [username@hostname]
Uncategorized MySql
Data is stored in name.myd
Table structure is stored in name.frm
Index is stored in name.myi
Uncategorized MySql
PHP4 cannot support oops concepts and Zend engine 1 is used.
PHP5 supports oops concepts and Zend engine 2 is used.
Error supporting is increased in PHP5.
XML and SQLLite will is increased in PHP5.
Uncategorized PHP
Yes, internally PHP will cast everything to the integer type, so numbers 250 and 251 will be compared.
Uncategorized PHP
Sorting functions in PHP:
asort()
arsort()
ksort()
krsort()
uksort()
sort()
natsort()
rsort()
Uncategorized PHP
This function frees result memory used by a query.
int mysql_free_result (int result)
However usually we dont use this function, as connections to MySQL are automatically
closed after a script executes. This may be used for sceanrios where we want to clear the result memory immidiately after they are fetched.
Uncategorized PHP
Latest replies