
Search In
Ruby provide with the following ways by which you can invoke the method based on your requirement :
s= "ruby method"
1) Call a public instance method directly
p s.length #=> 11
2) Other way is to invoke a method dynamically in ruby is to sen
User can prevent SQL- injection in php by using given 3 ways.
Method1. By Using PHP inbuilt Functions.
$name = mysql_real_escape_string($_POST["name"]);
mysql_query("INSERT INTO users VALUES($name)");
Method 2. By Using MySqli instead of MySQL. M
Hello Readers,
Most of the time when you work on the buddyPress, you wanted to style BuddyPress pages differently than a regular WordPress page, you need add a template file named buddypress.php to your theme’s directory and BuddyPress would use tha
Hello Readers!
You all got this error many times before and I am sure all PHP programmer at-least once got this error. To solve this error you can solve use solution as per your problem level:
Possible Solution 1:
You may have left blank spaces be
Hello Readers!
If you have this URL like : url.com/picture.php?id=51
and you want to make like this : picture.php/Some-text-goes-here/51 .
In this case it can be done by using htaccess.
Add a file called .htaccess in your root folder, and add so
What is use of join() function.?
The join() function returns a string from the elements of an array.
The join() function alias of implode() function.
Syntax of strtolower() function:
join(" ",array)
You can see below example of join() function in
The md5 function in PHP is used to hash or encrypt a string by calculating the md5 .
The syntax is:
md5 ('string', raw)
The string here is passed to encrypt the string and the raw is an optional field,which is the format of output.It uses the RS
In odoo useful remarks have three useful step-
1- Twitter Bootstrap and FontAwesome classes can be used in your report template
2- Local CSS can be put directly in the template
3- Global CSS can be inserted in the main repor
Option 1 :
You need to set the value of upload_max_filesize and post_max_size in your php.ini :
; Maximum allowed size for uploaded files.
upload_max_filesize = 40M
; Must be greater than or equal to upload_max_filesize
post_max_size = 40M
Afte
Step-1 Configuring Odoo after that we will provide admin_passwd .
Step-2 Then use all database management screens (to create, delete, dump or restore databases).
Step-3 If the management screens not accessible, then make it accessible from a selected
