Tag Archives: value

My function is not returning any value

Hi, I am trying to check file extension. For this I have created a function but it is not returning any value. I really can’t figure out where I am wrong. Below is the code : function checkType($name){ $farray = … Continue reading

Beginner Question: Updating a Value in a Database

I’m trying to make a practice website, so that I can learn PHP with some hands-on experience. I’m wanting to update a blank column in the database for the logged-in user, but it’s not doing anything: “UPDATE users SET age … Continue reading

Design pattern to create an arraylist for a combination of object and value pair

Wanted to know inputs for possible design pattern approach in java: Scenario: Trying to create an arraylist for a combination of object and value pair. If Objects has A, B, C…etc If value has X1, X2, X3…etc there could be … Continue reading

Design pattern to create an arraylist for a combination of object and value pair

Wanted to know inputs for possible design pattern approach in java: Scenario: Trying to create an arraylist for a combination of object and value pair. If Objects has A, B, C…etc If value has X1, X2, X3…etc there could be … Continue reading

Several Keys with Same Value in JavaScript Object

I am building a weather app for my website using JavaScript, jQuery, html and css. I am getting my weather data from an api. The api has several different possibilities for current condition, such as Rain, Snow, etc. I am … Continue reading