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 here, mostly for my reference. Also if i find a good link, i usually add it here and then forget about it. more...

Subscribe to weekly updates about things i have added to the site or thought interesting during the last week.

You could also follow me on twitter or not... does anyone even use twitter anymore?

If you found something useful or like my work, you can buy me a coffee here. Mmm Coffee. ☕

❤️👩‍💻🎮

🪦 2000 - 16 Oct 2022 - Boots
Random Quote
For a long time it had seemed to me that life was about to begin - real life. But there was always some obstacle in the way, something to be gotten through first, some unfinished business, time still to be served, or a debt to be paid. Then life would begin. At last it dawned on me that these obstacles were my life.
Alfred D. Souza
Random CSS Property

min-width

The min-width CSS property sets the minimum width of an element. It prevents the used value of the width property from becoming smaller than the value specified for min-width.
min-width css reference