Select is a SQL keyword used to query data. 'select()' is also a programming function for triggering code based on file handle or other system activity. Not to be confused with the HTML tag ``.
0
votes
0answers
5 views
select box auto close up after on change is triggered for iPhone and android browser
Is it possible to use JavaScript to control select box auto close up after on change event is triggered for mobile web development?
1
vote
1answer
35 views
recv() error C/C++ socket programming
I'm writing the CWMP client for TR-069 Server. I'm basing my client's code on this topic (there's also a source code link in the topic)
CWMP CPE (Client) implementation
I have encountered a weird ...
0
votes
0answers
10 views
limitation on SELECT Query in HiveQL (Hadoop)
I was just wondering what is the maximum number of functions we can include with a SELECT SQL query. I have been able to execute 560 functions simultaneously but I failed when I launched 700 functions ...
0
votes
1answer
35 views
MySQL query REGEX
I've been searching for this for a while. I have a MySQL table with the following fields:
Id | Parent | Code | Name
1 | 0 | 1 | bla
2 | 1 | 1.1 | blabla
3 | 1 | 1.2 ...
0
votes
2answers
31 views
Can't retrieve DB info
I need help figuring out why the following DB Query is not working. I know the DB connection is good. I also know the $referralname = $_SESSION['user_name']; is correctly rendering. It has to be ...
1
vote
1answer
21 views
MySQL - Selecting rows that do not have a match or that have with a condition
I can't figure this out so far, I have these tables:
students - Columns: id, name
stud_class - Columns: students_id, class_id
class - Columns: id, courses_id
courses - Columns: id, name
I need ...
0
votes
3answers
35 views
HTML <Select> <Option> default based on MySQL data
I have a simple inventory database and on the input_data form, one of the input fields is field, as follow:
<select>
<option>In Inventory</option>
<option>In ...
1
vote
0answers
25 views
Why can't I replace a value used in an SQL query with a SELECT query that returns the exact same value?
The following QUERY #1 returns the correct results when value "1010" is used:
SELECT *
FROM iterations $iterations2, experiments $experiments1, clients $clients1
WHERE $experiments1.id = ...
0
votes
2answers
32 views
Is there a way in PHP to get the index of a currently selected HTML <select><option></select>?
I'm trying to use PHP to get the current index of my dropdown box.
<select name="iface" id="iface">
<option>vlan10</option>
<option>br0</option>
...
0
votes
0answers
21 views
Browser differences in select dropdown event handler points of execution
I have an HTML dropdown menu. I have a jquery .live() 'click' event listener attached to the select element.
In Chrome, it seems that the event fires after I click an option. So if I click it ...
1
vote
1answer
22 views
Selecting Each Row of Numpy Array by Column Index
I am quite new to both python and numpy.
Is there a better way to get the "output_array" from the "input_array" and "select_id" ?
Can we get rid of the "range( input_array.shape[0] )" ?
>>> ...
0
votes
1answer
29 views
getting the count of a subquery
I am looking to get the count of a subquery, or at least a way around it.
I have a stored procedure that I create a temp table later on in it, but I need the number of rows that gets returned in that ...
-7
votes
1answer
38 views
sql select more values [closed]
In this code I need to add one more option: if field_id 21 = 24
SELECT
v.*, i.title
FROM
gavwb_flexicontent_fields_item_relations AS v
JOIN
gavwb_content AS i ON ...
-1
votes
2answers
18 views
Stored procedure, empty parameters
I need to create a stored procedure ..
I have a form where I select the filters, the point is that some filters may be empty.
If I will select just one filter, how can I execute the select with a ...
0
votes
1answer
18 views
select for timeout over TCP socket
I have a problem with this code:
FD_ZERO(&cset);
FD_SET(s, &cset);
tval.tv_sec = TIMEOUT;
tval.tv_usec = 0;
n = select(FD_SETSIZE, &cset, NULL, NULL, &tval);
if (n==-1) {
...