
Search In
Following code can be use to send email in mac os:
-(IBAction)sendEmailClicked:(id)sender
{
NSString *recipient;
NSString *mailsender;
NSString *mailsubject;
NSString *mailmessage;
recipient = [reciever stringValue];
mailsend
You can hide the "My Sites" menu from Liferay Docbar by creating hook. In my example i am hidding the menu option for all the users except those whose role is Administrator. You need to Hook the html/taglib/ui/my_sites/page.jsp
Add the following cod
The pdb module stand for Python debugger. It is used on the bdb debugger framework.
And we can run the debugger from the command line and go to the next line and help to get a list of available commands.For example you can see below code.
$pdb.py s
Sorting is the process of arranging elements systematically either ascending or descending order.
The main purpose of sorting information is to optimise its usefulness for specific tasks.
Sorting arranges data in a sequence by which searching becomes
String is a collection of characters in an array.It is terminated by by \0 (null character)
There are two ways to declare string in c language.
1)By char array
declaring string by char array is as follows:
char ch[10]={'e','v','o','n', '\0'};
Insertion in Linklist:- The Insertion of Element in Singly linklist at different places like: insertion at beginning, last and middle in the linklist. In below code I will show you how to insert the element in linklist at beginning, middle and last.
Hello Reader's If you want to get the full path , name or the directory of a file using php then you can use the code below:-
Let's see the example below:-
function filePathParts($arg1) {
echo $arg1['dirname'], "\n";
echo $arg1['basename'], "\
String-valued functions return NULL, if the the result's length would be greater than the value of the max_allowed_packet system variable.
The first position of a string (for those functions which operate on string), is numbered 1.
Noninteger argum
pathinfo() function basically contains the information of the file path. It will take two parameters:
path(required) : path whose information is needed.
options(optional) :tells which elements to return. Values are PATHINFO_DIRNAME(returns director
ELT(N,str1,str2,str3,...)
The MySQL ELT function is used for get the Nth element of all listed arguments in the function. The first argument is used for which number of element you want to get. In the argument list the if N = 1 then return str1 and