update php version for a specific project - valet isolate php@8.0 check - valet isolate for more info - https://laravel.com/docs/11.x/valet#per-site-php…
Read morefunction getTecherEmailHistory($teacher_name, $school_id) { $teacher_name_length = strlen($teacher_name); $school_id_length = strlen…
Read moreserver { listen 80; server_name zetamatic.developernoob.com; root /var/www/html; location / { if ($arg_edd_action = "activat…
Read moreCopy php artisan passport:install
Read more#!/bin/bash # Created by Kahnu 06-09-23 # MySQL database details DB_USER = "root" DB_PASSWORD = "root@123" DB_NAME = "education…
Read moreChange ownership of the directory to ensure you have the permissions to modify files within the directory sudo chown -R $USER:$USER /var/www/<your-di…
Read more// Check the total amount should be $10 if ( $amountPayable < 10 ) { add_filter ( 'wpcf7_feedback_response…
Read moreWhere school-id != 84 SELECT COUNT (*) FROM wp_ntt_contact_form_addon WHERE form_value NOT LIKE '%\"school-id\";s:2:\"84\"…
Read more// Syntax for mysqldump mysqldump -u[database_username] -p[database_password] [database_name] > [path-to-export/filename.sql] // example mysqldump -uro…
Read moreUbuntu URL NOT found issue in php folder 1 - Use terminal to open this file ``` sudo gedit /etc/apache2/apache2.conf ``` 2 - Find the below line in that …
Read morefunction insert_multiple_rows ( $table , $request ) { global $wpdb ; $column_keys = '' ; $column_values = '' ; $sq…
Read morereference https://techvblogs.com/blog/install-multiple-php-versions-on-ubuntu-22-04
Read moreadd_filter ( 'plugin_action_links_' . plugin_basename ( __FILE__ ), 'add_action_links' ); function add_action_links ( $actions ) {…
Read more$second_db = new wpdb(DB_USER, DB_PASSWORD, $database_name, DB_HOST); $results = $second_db->get_results($your_query);
Read moreheader ( 'Content-type: application/json' ); $person = array ( "name" => "Johny Carson" , "title" =&…
Read moresudo chmod 755 /opt/lampp/phpmyadmin/config.inc.php sudo chmod 755 your-config.inc.php file path
Read morephp artisan vendor:publish --tag=laravel-errors result
Read more=================================================================== Open your terminal using Ctrl+Alt+T and type the following commands Step 1: Instal…
Read more< a href = " {{ URL ('/students/edit/' . $student -> id ) }} " > < button class = "btn btn-primary" > E…
Read more@include('contact')
Read more