Arjun Thakur has Published 1109 Articles

highlight_string() function in PHP

Arjun Thakur

Arjun Thakur

Updated on 30-Dec-2019 06:41:56

115 Views

The highlight_string() function outputs a string with the PHP syntax highlighted.Syntaxhighlight_string(string, return)Parametersstring − The string to highlight.return −If this parameter is set to true, this function will return the highlighted code as a string, instead of printing it out. default is false.ReturnThe highlight_string() function returns true on success, or false ... Read More

filter_id() function in PHP

Arjun Thakur

Arjun Thakur

Updated on 27-Dec-2019 10:23:35

215 Views

The filter_id() function returns the filter ID of provided filter name.Syntaxfilter_id(filtername)Parametersfiltername − The name of filter to get the ID from.ReturnThe filter_id() function returns filter ID on success or FALSE, if the filter does not exist.ExampleOutputThe following is the output.int = 257 boolean = 258 float = 259 validate_regexp = ... Read More

Performing total of a column in a temporary column in SAP

Arjun Thakur

Arjun Thakur

Updated on 05-Dec-2019 07:44:31

99 Views

You need to perform select again on your query. Here is the sampleSELECT DATE, FUND_ID, PPT_ID, SOURCE_ID, AMOUNT, SUM (AMOUNT) as TOTAL FROM (    SELECT    AD.CHV_DATE.DATE,    AD.CHV_FUND.FUND_ID,    AD.CHV_PARTICT.PPT_ID,    AD.CHV_PARTICT.SOURCE_ID,    SUM (AD.CHV_PARTICT.AMOUNT), FROM    AD.CHV_DATE,    AD.CHV_FUND,    AD.CHV_PARTICT,    AD.CHV_SOURCE WHERE    DC.CHV_SOURCE.FUND_ID=AD.CHV_FUND.FUND_ID AND ... Read More

Passive Optical Network

Arjun Thakur

Arjun Thakur

Updated on 03-Aug-2019 19:59:37

822 Views

DefinitionPassive Optical Network (PON) is a FTTH (Fiber to the Home) technology deployed in both domestic and commercial consumers. It is called a passive network since it does not require a power equipment to amplify or process signals. A PON implements point – to – multipoint architecture, where a single ... Read More

8085 program to take all numbers which are in range 3CH and 64H in an array

Arjun Thakur

Arjun Thakur

Updated on 30-Jul-2019 22:30:26

180 Views

Here we will see we can take all numbers which are in range 3CH and 64H from an array using 8085.Problem StatementWrite 8085 program to take all numbers which are greater or equal to 3CH, and lesser than 64H from an array. Numbers are stored at 8001 onwards, 8000 is ... Read More

HTML coords Attribute

Arjun Thakur

Arjun Thakur

Updated on 30-Jul-2019 22:30:26

418 Views

The cords attribute of the element is used to set the coordinates of area in image map. Use the attribute with shape attribute and set the size & shape of an area.Following is the syntaxUnder the value above, you can set the following coordinates with different parameters −x1, y1, ... Read More

How to play an android notification sound?

Arjun Thakur

Arjun Thakur

Updated on 30-Jul-2019 22:30:26

309 Views

This example demonstrate about How to play ringtone/alarm/notification sound in Android.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.     Step 3 − ... Read More

C++ Program to Check Whether a Directed Graph Contains a Eulerian Path

Arjun Thakur

Arjun Thakur

Updated on 30-Jul-2019 22:30:26

380 Views

The Euler path is a path; by which we can visit every edge exactly once. We can use the same vertices for multiple times. One graph which contains Euler Circuit is also considered in this case, as it also has the Euler path.To check whether a directed graph has Euler ... Read More

Templates in C++ vs Generics in Java

Arjun Thakur

Arjun Thakur

Updated on 30-Jul-2019 22:30:26

2K+ Views

Templates are the foundation of generic programming, which involves writing code in a way that is independent of any particular type.A template is a blueprint or formula for creating a generic class or a function. The library containers like iterators and algorithms are examples of generic programming and have been ... Read More

HTML DOM Anchor protocol Property

Arjun Thakur

Arjun Thakur

Updated on 30-Jul-2019 22:30:26

88 Views

The HTML DOM Anchor protocol property is used to set or return the protocol of a link in the href attribute.Following is the syntax to set the protocol property −anchorObj.protocol = protocol_urlAbove, protocol_url is the protocol of the URL. The values can be http, https, ftp, etc.Following is the syntax ... Read More

Advertisements