
Search In
Hi all,
Bootstrapping is the equivalent of starting, or initializing your Angular app. There are 2 ways to do so.
First :-
<html ng-app="appName">
-
-
</html>
Second:- After creating your app, you should use this when you need to hav
Many times we have faced problems like we want to disable special and space character in edit text. So to prevent this we have a property called "android:digits", we have to list the characters which we want to allow in edit text.
We have to use it
In CakePHP, you may want to use the Auth component to check if a user is currently logged-in to the system. you cannot access the Auth component from a view. So doing something like this in a view
$user = $this->Auth->user
This will Generate
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 Reader's! if you want to short a given string on fixed number of chars then php offers you many ways. Below is one of them, you can use this code for the same.
Lets see the example below:-
$sting_given = "1234567890134667896abcdtiABCDEFGHIJK
As we all know that when we are working on the big project then there is a need of join 2-3 table to get the result.
We can easily understand that by using example of joining 3 table.
Example:
$shares = DB::table('shares')
->join('users', '
Hello Reader's!
If you want to make your file download by execution of JS then you can use the code below:-
var a = document.createElement('a');
a.href = "/favicon.png"; //make the link of image
a.download = "favicon.png";
document.body.appendChild(
While automating GUI one has to be very careful, do not start the automating when the project starts, else you will ends up re-writing the the automation scripts. Many a times vendors provide training and support of automation tools to the resources.
<code> use for inline code it can wrap and <pre> for block code that must not wrap so, new lines and spaces get rendered as new lines..
It is little mystified by the <pre> and <code> tags. If you’re not sure which to use and
Some applications are only made for tablets. So in order to restrict the application to download only in Tablets, we can use supports-screens tag inside the manifest file inside manifest tag.
<manifest ... >
<supports-screens android:s
