Questions tagged as 'value'

2
answers

How to send two values per parameter with a single selected option? PHP

I need to send two values per parameter to another page, but the value field of the select tag only sends a ... How could I send two? Follow the code: <option value="<?php echo $data->format("d/m/Y"); ?>"> <?php ech...
asked by 01.12.2014 / 23:17
1
answer

Higher value in an array in PHP

I have a problem finding the largest value of the product box width for the freight of a website I'm making. I put the product data with the size of the boxes in the database and I am now doing the calculations. I needed to add the weight and...
asked by 09.07.2015 / 21:06
2
answers

Return with 2 Values C # [duplicate]

I want to give return of two values in C #. My code is so currently, just returning imagePath , but I want to return imagePath and normalPath at the same time. string imagePath = "~/Images/QrCode.jpg"; string norma...
asked by 18.04.2018 / 18:36
2
answers

Get the optgroup label and option value and show it in a div with Jquery

I have the following code: <select> <optgroup label="fruta"> <option value="banana">banana</option> <option value="uva">uva</option> </optgroup> <optgroup label="l...
asked by 08.07.2015 / 13:11
1
answer

Find in an array the next value greater than a pre-defined value

I have the following array with forech defined: $getdepth = '{"result":"true","asks":[[20,13],[34,20],[30,8],[35,8],[4,40],"bids":[["18",22],["16",74],["70",99],["65",18],["1",15]]}'; $depth = json_decode($getdepth, true); foreach ($depth['ask...
asked by 05.04.2014 / 02:30
2
answers

Query Select Option PHP

How to make a query with select option that the user can choose? No frontend: <form method="post" action="Procurarquery.php" enctype="multipart/form-data"> <span class="LABEL4CSS" id="LABEL4">Estado</span> <sel...
asked by 25.03.2014 / 18:44
1
answer

How to get input value and make an account

Hello, I'm new to the programming area, and I'm learning javascript. I decided to make a tool that calculated the AMA (slaughter, death, care) of a game I play. The bill is to add the killings with assists and divide by the deaths. So far so goo...
asked by 26.05.2018 / 02:56
2
answers

Error using string of values

Hello, I'm using string within values. It's all working fine, but when the sentence is made up of something that comes from the bank (for example) and a string, it's putting numbers instead of text. numeroAvaliacoes.setText(" " + object.get...
asked by 12.12.2016 / 14:05
1
answer

attempt to index local 'rkgdat' (a nil value)

Personal speech, I'm trying to write some information in a .json but I'm getting this error: data.lua: 12: attempt to index local 'rkgdat' (a nil value) local triggers = { '' } local action = function(msg) local rkgdat = load_data('data...
asked by 12.10.2016 / 18:41
1
answer

Button with two value only with html is possible? [closed]

You want to put two actions in the value field of a button, using only html. Is it possible? My original button: <button type='roll' name='roll_arma1' value='&{template:default} {{name=Ataque @{nomearma1} @{arma1}}} {{Sucessos=[[{5d4...
asked by 21.07.2017 / 16:29