Load from Fields (two)

Matches two tables and field data to load and returns true or false. Initially written for loading a rating value when unique id and rating number are passed in. This has been written this way to allow future usage when 2 tables and values need to be matched. Taken from function load_from_field also in core. 

This will only load one matching result. If there are more than one it will load the 1st one it finds and return true.

Function

load_from_fields_two($field_one_name, $field_one_value, $field_two_name, $field_two_value )

Class

core

Demo

Demo

function_name

load_from_fields_two($field_one_name, $field_one_value, $field_two_name, $field_two_value )

class_name

core

id: 2
uid: AoNOn
insdate: 2020-01-20 01:37:21
title: Load from Fields (two)
additional:

Matches two tables and field data to load and returns true or false. Initially written for loading a rating value when unique id and rating number are passed in. This has been written this way to allow future usage when 2 tables and values need to be matched. Taken from function load_from_field also in core. 

This will only load one matching result. If there are more than one it will load the 1st one it finds and return true.


category: functions
function_name: load_from_fields_two($field_one_name, $field_one_value, $field_two_name, $field_two_value )
class_name: core
code_file:
demo_url:

No Items Found.

Add Comment
Type in a Nick Name here
 
Other Categories in Core Docs
Search Core Docs
Search Core Docs by entering your search text above.
Welcome

This is my test area for webdev. I keep a collection of code snippits here, mostly for my reference. Also if i find a good site, i usually add it here.

Join me on Substack if you want me to send you a collection of the things i have done or found or read for the week. Or follow me on twitter if you prefer, i dont post much but i probably should!

❤👩‍💻🕹

Random Quote
In this case my anchor this week becomes driving almost 2hrs outside of Atlanta to one of my favorite hard core gyms in the world.. MetroFlex aka The Dungeon. The gym owners turn the heat way up so it becomes a fun sweat box and the gym members just watch from afar and leave me alone. I happily drive myself long distances to find MY ANCHOR. Our anchor allows us to have balance, focus and be as productive as possible. And if you're in the middle of a heavy set and your headphones start to fall off your head, like mine did here.. well.. f*ck the headphones. Let em break and fall. You can always get a new pair, but the iron ain't ever gonna lift itself.
Unknown