Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

How to get filetype from a filename?

To get a filetype from a filename we have define a function GetFiletype() in which we have a passed a parameter i.e.,the name of the file. Using this function we will extract the '.' operator from the filename and use the extension to get filetype.

Where to use "__construct" magic function

__construct The constructor is a magic method, which is immidately initated after declare the object of class and you can write the __construct method at any place in the class. Right here all of us have a case in point during which, develop a scho

Mysql and Sql injections

SQL Injection: If we are trying to save data into the database from webpage inputs than we have forget wide open security issue is known as SQL injection. Now the Question is how to prevent it and help to secure your script and MYSQL statement. Preve

How to update the sequence of number and checks the value encoded on the wizard in OpenERP(Odoo)?

To update sequence to number and checks from the value encoded in the wizard, first we have to go in .py file (Python file) After that we have to decide where we want to update the sequence to number and then write python code to that field from star

Using AJAX in ASP.NET

Ajax Calls in ASP.NET For removing postback in web page you use 1 Update Panels Update Panels are used when there is partial postback of page can happen. 2 Ajax Calls If you want to minimize postbacks to the extent Ajax calls are used. F

Selecting the first n rows, Pagination, Rownum & ROW_NUMBER() in Oracle

There will be requirement where you might need to select the first n rows, or do pagination in Oracle. This can be achieved using Rownum. Lets create sample table and data to understand the logic. create table Employees ( id number primary

SQL Tutorial -> Sql Syntax

<-- Chapter 1 Introduction to SQL Chapter 2 SQL Syntax SQL Syntax : SQL syntax is basically followed by sql commands which modifies the database tables such as "users" , "students" etc. All the SQL statements always starts with the keywords SEL

What To Expect From Online Website Builders

Website builders make it easy for anyone to build a website without having web development or graphic design skills. It allows you to create a website from the frontend, which pertains to what your users will be seeing, using simple functionality. &

eloquent laravel: How to get a row count from a ->get()

count is method which will return an array.It is a query builder. So to count rows from using a ->get() is The syntax to count a row a -> get() is $wordCount = count($wordlist); If you have a wordlist model, then you can use Eloquent to ge

Remove duplicate records from a table in SQL Server

Sometimes we required to remove duplicate records from a table although table has a UniqueID Column with identity. Ex: CREATE TABLE dbo.Employee ( EmpID int IDENTITY(1,1) NOT NULL, Name varchar(55) NULL, Salary decimal(10, 2

1 135 258
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: