Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
middle
- Page 1
Re: Is the Vision Pro worth it?
Hardware and Software
macOS
4 Days Ago
by Reverend Jim
I usually put a square tile in the
middle
of the floor to stand on when playing Beat Saber. Eleven Table Tennis doesn't need it because I orient myself to the VR table. I play In Death Unchained seated because there are too many vertigo-inducing places in the
middle
world where I could easily fall over. Some of them make my feet tingle.
Hello I am SirServeIt
Community Center
Say Hello!
3 Weeks Ago
by SirServeIt
I have a couple project that I am working on listed bellow. I used to use this forum back in the day when I made my first website, a myspace like site I made in
middle
school and kept running until I dropped out of HS.. any feedback on my current sites is appreciated > (campic.site/) > (drinkdb.site/drinks/)
Multiple MySQL connections + transactions
Programming
Databases
1 Month Ago
by Dani
… write to a database using a MySQL connection in the
middle
of a transaction with a different connection? e.g. // Open…
Re: Multiple MySQL connections + transactions
Programming
Databases
1 Month Ago
by Dani
… PHP's `mysqli::select_db()` function to switch databases in the
middle
of a transaction? This is what got me into trouble…
Re: ‘Advanced AI should be treated similar to Weapons of Mass Destruction’
Community Center
2 Months Ago
by rproffitt
UPDATE: Feb 4, 2025 — Google on Tuesday updated its ethical guidelines around artificial intelligence, removing commitments not to apply the technology to weapons or surveillance.
Re: Multiple MySQL connections + transactions
Programming
Databases
1 Month Ago
by Salem
https://www.php.net/manual/en/mysqli.select-db.php I think the key word in all of this is "default". You can probably do what you want, but you have to refer to each DB by it's own handle. Using `select_db` is fine, if you only have one DB and you want to be lazy about referring to it. So you make it the default DB. But as …
Re: Multiple MySQL connections + transactions
Programming
Databases
1 Month Ago
by Reverend Jim
As far as I know you can connect to more than one database at a time but you require a separate connection object for each one. Since queries go through the connection object you can't run a query on more than one db at a time. It seems to me that transactions are also connection based so you would have to manually roll back a transaction on A if …
Re: Multiple MySQL connections + transactions
Programming
Databases
1 Month Ago
by Dani
I am already using multiple MySQL connections throughout the project, as well as select_db() in some other places. My question specifically revolved around if anyone can explain why select_db() implicitly committed the transaction, and then when done again to return back to the initial database, it did a rollback instead of commit.
Re: Multiple MySQL connections + transactions
Programming
Databases
1 Month Ago
by Reverend Jim
In that case I can't suggest anything. I've never had to update multiple databases for any of the systems I set up.
Re: Multiple MySQL connections + transactions
Programming
Databases
1 Month Ago
by toneewa
You're not suppose to switch databases with a connection mid-transaction. It's by design to rollback because it considers it a change to the session context. XA Transactions can be done if you use the InnoDB storage engine. Create separate PDO connections for each database. I wonder what kind of results you get with autocommit, serializable …
Re: Multiple MySQL connections + transactions
Programming
Databases
1 Month Ago
by Dani
> If the databases are on the same server and use InnoDB, you can use fully qualified table names, and write to multiple databases on a single connection. That's what I ultimately started doing instead! Thank you so much for a definitive answer to my question.
Middle School Computer Lab
Hardware and Software
Networking
19 Years Ago
by kleenex88h
Hey everybody! I work part time in a
Middle
School Library that has a computer lab in it. At …
Re: Middle School Computer Lab
Hardware and Software
Networking
19 Years Ago
by nizzy1115
Get a remote desktop program, as the
middle
schools that i work at have already, and you can shut them all down with a single click of the mouse :) It really makes life easy for the computer teachers!
Middle Mouse Button
Programming
Software Development
14 Years Ago
by IDC_Sharp
i made a Browser and i made tabs so i made MouseDown Event and i put there this: [CODE] addNewTab(); getCurrentBrowser().Navigate(adress); [/CODE] but it doesnt work.. so i want to do when i click a link with the
Middle
Mouse Button its will open the link in new tab// how can i do that?? thanks!
middle node deletion in binary trees
Programming
Software Development
12 Years Ago
by rithish
hello im trying to delete a
middle
node in binary tree .but i have tried it in a linked list but here how to do that does any one them has links or video tutorials???????????
Help With A Midterm Practice Problem - First, Middle, Last Name
Programming
Software Development
13 Years Ago
by minimee120
…again. I need to be able to get the First,
Middle
, and Last Name using the count function. However, my professor…it print the first name on one line, the full
middle
name separately on another line, and the last name on… temp name = 'Benjamin de OMG I HAVE A LOT OF
MIDDLE
NAMES la Franklin' fname = getFirstName(name) mname = getMiddleName(name) …
Aligning scripts to middle problem
Digital Media
UI / UX Design
13 Years Ago
by varoluscu_prens
…margin:0; font-size:0; float:left; vertical-align:
middle
; /*I was hoping that helps but it didn't…upperMenu li.sep a:hover{ display:block; vertical-align:
middle
; background-color:#DCDCDC; border:0px solid #E6E6E6; text…:none; padding:0.25em 0.5em; vertical-align:
middle
; font:normal 11px Lucida Sans Unicode,Lucida Grande,Verdana…
Re: Help With A Midterm Practice Problem - First, Middle, Last Name
Programming
Software Development
13 Years Ago
by woooee
… idx_list first=fullname[:idx_list[0]] print first
middle
=fullname[idx_list[0]+1:idx_list[-1]] print
middle
last=fullname[idx_list[-1]+1:] print…", idx_first, idx_last first=fullname[:idx_first] print first
middle
=fullname[idx_first+1:idx_last] print
middle
last=fullname[idx_last+1:] print last [/code]
Re: Help With A Midterm Practice Problem - First, Middle, Last Name
Programming
Software Development
13 Years Ago
by TrustyTony
… idx_list first=fullname[:idx_list[0]] print first
middle
=fullname[idx_list[0]+1:idx_list[-1]] print
middle
last=fullname[idx_list[-1]+1:] print…;, idx_first, idx_last first=fullname[:idx_first] print first
middle
=fullname[idx_first+1:idx_last] print
middle
last=fullname[idx_last+1:] print last [/code][/QUOTE…
how to get the middle word of string?
Programming
Software Development
11 Years Ago
by saja.omarii.7
… ,, i'm trying to get the
middle
word of sentence contains 3 words using find… a three-words sentence :"; getline(cin, sentence); string
middle
= sentence.substr(sentence.find(" ") + 1,… ")); // find the
middle
word cout <<
middle
<< endl; //Print the
middle
word system("pause");…
Re: Help With A Midterm Practice Problem - First, Middle, Last Name
Programming
Software Development
13 Years Ago
by minimee120
…two three four five " [/CODE][/QUOTE] I fixed the
Middle
part of my code with this: def getMiddleName(fullname): space… name = 'Benjamin de la OMG I have a lot of
middle
names Franklin' fname = getFirstName(name) mname = getMiddleName(name) lname = … Results: Benjamin de la OMG I have a lot of
middle
names Franklin >>>
finding the middle element of the list with 0(n)
Programming
Software Development
15 Years Ago
by Iam3R
Hello , i have written the code for finding the
middle
element of the list with 0(n) complexity. please gurus, … odd we can easily find the
middle
element suppose 1 2 3 4 5 the
middle
is 3 but when the no… 2 3 4 5 6 how can we decide the
middle
element is there any most widely used way or experts…
Re: finding the middle element of the list with 0(n)
Programming
Software Development
15 Years Ago
by Iam3R
…;1030551]Hello , i have written the code for finding the
middle
element of the list with 0(n) complexity. please gurus… odd we can easily find the
middle
element suppose 1 2 3 4 5 the
middle
is 3 but when the no… 2 3 4 5 6 how can we decide the
middle
element is there any most widely used way or experts…
Label always in the middle of the panel
Programming
Software Development
13 Years Ago
by IDC_Sharp
… that label1 will always change it location to the
middle
of the panel. but will stay in the same… Y spot (X change to the
middle
of his line, Y stay as it is) and…that label2 will always change it location to the
middle
of the panel but will stay in the same…X stay as it is, Y change to the
middle
of his line) it's for AXES i want …
Re: extracting the middle number of 3 inputs
Programming
Software Development
20 Years Ago
by Narue
…return v[1]; } int main() { cout<<"The
middle
number is "<< mid(12, 14, 6) <…return list[1]; } int main() { cout<<"The
middle
number is "<< mid(12, 14, 6) <… else return b; } } int main() { cout<<"The
middle
number is "<< mid(12, 14, 6) <…
Re: Help With A Midterm Practice Problem - First, Middle, Last Name
Programming
Software Development
13 Years Ago
by woooee
You are finding the last name to get to the end of
middle
name. I am finding the last space.
Re: Help With A Midterm Practice Problem - First, Middle, Last Name
Programming
Software Development
13 Years Ago
by TrustyTony
… much more to just split the name and rejoin the
middle
names with only one space. Otherwise really robbust function should…
Re: how to get the middle word of string?
Programming
Software Development
11 Years Ago
by deceptikon
…;) + 1; string::size_type middle_end = sentence.find(" ", middle_begin); string
middle
= sentence.substr(middle_begin, middle_end - middle_begin); cout << "'"…
Re: Get the Middle Factors from a Factor List
Programming
Software Development
10 Years Ago
by Gribouillis
… list of the term(s) in the
middle
of a list A list of length 1…factor_list[q:q+1+r] def main(): print("
Middle
Factors: {}".format(get_middle_factors([1, 7, 13, … main() """ my output -->
Middle
Factors: [7, 13]
Middle
Factors: [7] """ PEP 8…
extracting the middle number of 3 inputs
Programming
Software Development
20 Years Ago
by oldroad
I need to extract the
middle
numeric number. It works for two order of numbers, for …; // total of all numbers entered by user int midnum; //numeric
middle
number cout << "enter three numbers \n"… = b + c; midnum = sum - d; cout << "The
middle
number in numeric order is: " << midnum <…
1
2
3
17
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC