To get Selected database use
$res = mysql_query(“SELECT DATABASE()”) or die(mysql_error());
echo mysql_result($res ,0);
To get current username
$res = mysql_query(“SELECT CURRENT_USER”) or die(mysql_error());
echo mysql_result($res ,0);
Tutorialshore
To get Selected database use
$res = mysql_query(“SELECT DATABASE()”) or die(mysql_error());
echo mysql_result($res ,0);
To get current username
$res = mysql_query(“SELECT CURRENT_USER”) or die(mysql_error());
echo mysql_result($res ,0);
paypal sandbox auto redirection URL is not working
SEE STEPS
1) Log in with https://developer.paypal.com
2) Click On Applications
3) Go to Sandbox accounts
4) Expand the account in question
5) Click Sandbox site
6) Login to the test account
7) Copy and paste “https://www.sandbox.paypal.com/us/cgi-bin/webscr?cmd=_profile-website-payments” into your browser
8) Enable Auto Return and click Save
E9) Typethe Auto Return URL and click Save
ISO 8601 time format is international standard time format .The purpose of this ISO 8601 time format is to provide well-defined method of representing dates and times. in this standard T(CAPITAL LETTER T) is used to separate date and Time .e.g is 2016-12-24T14:30