Skip to content

Logic Bytes

Spread Your Knowledge

  • Home
  • How To
  • PHP
    • Cakephp
    • WordPress
    • CodeIgniter
    • Laravel
  • Python
    • Django
    • Flask
  • Contact

Article

Article / CodeIgniter / PAGINATION / PHP

Php-How to make slug in php

March 11, 2017 Chandan SharmaComment on Php-How to make slug in php

## make slug using this function. Like: stackofcodes.in/2016/01/10/how-to-search-data-from-table-in-php/ function makeslug($str) {     return preg_replace(“/[^0-9a-zA-Z]+/”, “-“, $str); } $tog = how_can i make slug. $slug …

Read More
Article / CodeIgniter / PAGINATION / PHP / SQL

how to fetch field value from table in php

March 11, 2017 Chandan SharmaComment on how to fetch field value from table in php

## How to fetch a field value from database in php $r = mysql_query(“select field_name from table_name”); $value =@mysql_result($r,0,”field_name);

Read More
Article / CodeIgniter / PHP

Get url Segments in php

March 7, 2017 Chandan SharmaComment on Get url Segments in php

## Get Url Segments from Url in php  $uri_path = parse_url($_SERVER[‘REQUEST_URI’], PHP_URL_PATH); $uri_segments = explode(‘/’, $uri_path);  

Read More
Article / CodeIgniter / JavaScript / JQuery / Json / PHP

Refresh Parent window

February 26, 2017 Chandan SharmaComment on Refresh Parent window

Refresh Parent window:: window.parent.location.reload()

Read More
Article / CodeIgniter / payment gateway / PayUMoney / PHP

PayUMoney return data after payment

January 30, 2017 Chandan SharmaComment on PayUMoney return data after payment

    Array ( [mihpayid] => 403993715515489558 [mode] => CC [status] => success [unmappedstatus] => captured [key] => DgdPazAK [txnid] => CHN00001140 [amount] => 5000.0 …

Read More
Article

Generate Random Number in php

January 29, 2017 Chandan SharmaComment on Generate Random Number in php

function generate_random_password($length = 4) {    $alphabets = range(‘A’,’Z’);    $numbers = range(‘0′,’9’);    $additional_characters = array(‘_’,’.’);    $final_array = array_merge($alphabets,$numbers,$additional_characters);    $password = ”; …

Read More
Article / CodeIgniter / JavaScript / JQuery / PHP

Email Validation in jquery

January 29, 2017 Chandan SharmaComment on Email Validation in jquery

function validateEmail(email) {       var emailReg = /^([\w-\.]+@([\w-]+\.)+[\w-]{2,4})?$/;       return emailReg.test( email );   } Return TRUE/ FALSE

Read More
Article / CodeIgniter / HTML / JavaScript / JQuery / PHP

Jquery- Email Validation

January 29, 2017 Chandan SharmaComment on Jquery- Email Validation

function isEmail(email) { var regex = /^([a-zA-Z0-9_.+-])+\@(([a-zA-Z0-9-])+\.)+([a-zA-Z0-9]{2,4})+$/; return regex.test(email); } It’s returns true or false

Read More
Article / CodeIgniter / PHP

Get URL segments in core php

January 27, 2017 Chandan SharmaComment on Get URL segments in core php

//– META KEYWORDS:: –     $XSHRMETA_REQUEST_URI_PATH = parse_url($_SERVER[‘REQUEST_URI’], PHP_URL_PATH);     $XSHRMETA_URI_SEGMENTS     = explode(‘/’, $XSHRMETA_REQUEST_URI_PATH);     //print_r( $XSHRMETA_URI_SEGMENTS);     // …

Read More
Article

How to know your IP address

January 1, 2017 Chandan SharmaComment on How to know your IP address

# To Check your IP address Open Command Prompt then type ipconfig and Press ENTER LIKE: ipconfig And Press ENTER

Read More

Posts navigation

Previous 1 … 4 5 6 7 Next

Recent Posts

  • Python Automation Framework-PyUnit (Unittest) Framework
  • Python Automation Framework-TestProject Framework
  • Python Automation Framework-Pytest Framework
  • Python Automation Framework-Lettuce Framework
  • Python Automation Framework-Behave Framework:
  • Top Python Testing Automation Frameworks in 2024
  • Visual Studio Code Keyboard Shortcut Editor
  • Visual Studio Code Keyboard Shortcuts
  • How to Remove Sidebar from Category Pages in WordPress?
  • Best Practices for API Responses

Automation Frameworks Automation Testing Behave Framework Blogger Blogspot Cakephp Cheat Sheets Code Editor CodeIgniter Code Navigation Collaborative Coding Debugging Tools Disable Mouse Right Click Domain Extension Editor Extension Full form Facebook Facebook Video Download IDE JavaScript JQuery Lettuce Framework Microsoft Code Editor Open-Source Code Editor PHP Pytest Framework Python Python-3.x Python Automation Python Automation Frameworks Python Automation Testing Python Pytest Framework Python Testing Frameworks Python TestProject Framework Python Unittest Framework Syntax Highlighting Testing Frameworks Text Editor for Developers Visual Code Visual Code Editor Visual Studio Code Visual Studio Code Cheat Sheet VSCode VSCodeEditor WordPress

Copyright © 2026 Logic Bytes.
Powered by WordPress and PridMag.