
Search In
To use swift code in Objective-c project ->
1. Go to your objective-c project -> create a new file -> source -> Cocoa Touch Class -> change language to “Swift” -> create.
2. Now a alert will pop-up “Would you like to configure an
Suppose we have a string with full path with filename and we want to extract only the filename from the given path, then we can use Path.GetFileName method to extract only the file name.
Syntax: filename= Path.GetFileName(path);
Where path is par
In Javascript toPrecision ( ) method is used to represent a number either in exponential form or in fixed-point length with a specified number of digits .
Syntax ->
number.toPrecision ( [ precision lenght ] )
Parameters ->
number -> It i
In Javascript setDate ( ) method set the day of the Date object based on the beginning of the current month( or local time) .
Syntax
dateObj.setDate ( dayValue )
Parameters
dateObj -> It is mandatory and it is an integer which represent the
To restrict directory access by IP address you need to follow the steps given below:
Create a file or open a file .htaccess(started with a dot) inside the directory that you want to protect.
Add the code given below to the file:
Order Deny,Allow
Basically Unique and Distinct both are same means both do the same work , Unique statement was used earlier by the oracle database but Now a days Distinct statement is using by the oracle ( Now it is the official keyword ) , Though Unique statement
Hello reader! If you have an array with the records and you want it to be download as CSV format. PHP has built in functions for making the format of CSV. Lets take the example below:-
header("Content-Type: text/csv");
header("Content-Disposition: a
This operator is used to get the data from a combination of " greater than equal " and " less than equal " condition .
Syntax :
select column_name1.......column_nameN from table_name where column_name between value1 and value2 ;
Example :
Table na
We can use jQuery UI to implement a tooltip in our pages. It contains a set of user interface interactions.Tooltip is used to show some additional information in the context of each field.
This is how you can use Jquery UI:
<!doctype html>
&
Basic difference between C and C++:
C
C++
C follow procedural programming language
C++ follow procedural and object oriented
Data cannot b
