Re: Trying to display all records for a specific customer Programming Web Development by Biiim You got a `GROUP_CONCAT()` in the SELECT statement so the query will group everything as one, since no GROUP BY was specified. You don't want GROUP_CONCAT anything in tblorders if you want to view all the orders for that Customer. Add to the bottom after the WHERE clause: `GROUP BY tblorders.order_id` This will force it to make one row … Re: How to split data to text boxes when read qr code data ? Programming by sgtamilan The first step to splitting QR code data into text boxes is to scan the QR code with a QR code reader or scanner. Use a programming language like JavaScript or Python to parse the string based on delimiters (like commas or spaces) and dynamically display the segments. PHP Fatal error: Uncaught Error: Unsupported operand types error Programming Web Development by ianhaneybs …post Below is the sections of code that contains the code I put in //Code for Checkout if(isset($_POST['checkout…</select> </div> // I ADDED THIS CODE BLOCK IN <div class="col-md-4 mb… Re: PHP Fatal error: Uncaught Error: Unsupported operand types error Programming Web Development by Dani The code `$_SESSION["cart_item"][$k]["quantity"] += $_POST["… sense. As you point out, it's a ton of code for me to spend my time reading and sifting through… variables you're working with are not numbers. Trace your code and make sure that there are no edge cases where… Trying to display all records for a specific customer Programming Web Development by ianhaneybs …(!$result) { //Query failed echo "Query failed"; //Add debugging code } elseif(!$statement->rowCount()) { //No results returned echo "No… Creating a Pixel Desktop App with ChatGPT in Just 20 Minutes Community Center by Johannes C. … to make my life easier, I’ve hardly written any code myself in the past 20 years. Much like any other… "retro" effect. 6. ChatGPT wrote the initial Python code, which ran correctly on the first test. We adjusted a… if users could choose the pixelation strength. We updated the code to include a "Pixelation Level" slider in the… Re: Creating a Pixel Desktop App with ChatGPT in Just 20 Minutes Community Center by jkon I understand that a chatbot is more friendly to use than Google, but the same functionality is in 1000 places in Python code on Internet. It would be easier to Google it and use the code. Do you believe that using a chatbot saved you time for this ? Re: Creating a Pixel Desktop App with ChatGPT in Just 20 Minutes Community Center by Johannes C. …, but the same functionality is in 1000 places in Python code on Internet. It would be easier to Google it and… use the code. Do you believe that using a chatbot saved you time… for this ? Absolutely! You are right that the code was the easy part that I probably could have fixed… Re: JS SCRIPT NOT RUNNING Programming Web Development by Dani … to put everything together to get a working timer. The code `<span id="demo" class="demo"…, the javascript actually is what makes the timer function, with code that keeps updating the HTML within that `<span>… you copy and paste all of the HTML and Javascript code [in the working demo here](https://www.w3schools.com/howto… Re: JS SCRIPT NOT RUNNING Programming Web Development by Dani … the electrical company. I already saw a screenshot of your code and saw some glaring typos that were causing syntax errors…. Now that your updated code doesn't show any "quick fixes", I need… developing with AR Google Spatial API with non supported region Programming Mobile Development by AsifJavaid_1 … AR spatial api. After running the sample applications in Google Code Labs, we are getting an error, VPS is not available… JS SCRIPT NOT RUNNING Programming Web Development by alexxx1 … seems like it doesn't run. Initially I used the code provided `<p id="demo"></p… Re: JS SCRIPT NOT RUNNING Programming Web Development by alexxx1 You are right. But now I copy and pasted the code from the live demo (https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_countdown) and still nothing worked Re: JS SCRIPT NOT RUNNING Programming Web Development by Dani Please show me your code. You must be doing something wrong still. Re: JS SCRIPT NOT RUNNING Programming Web Development by Dani …'s really impossible to debug what's wrong with your code when all I'm seeing is a screenshot of a… Re: JS SCRIPT NOT RUNNING Programming Web Development by toneewa …://toneewa-wixsite-com.filesusr.com/html/085832_1ca667945d2ebf26ec45de33a92a122d.html), where the code is placed. ![timer.jpg](https://static.daniweb.com/attachments/4… Re: Paths in PHP not work. Programming Web Development by Dani Can you please show us your code and explain what the expected behavior is and what is … does something with a $path variable, but without seeing any code, it wouldn't do anything. Also, when you say styles… Re: Do you participate in any other communities? Community Center Geeks' Lounge by John_165 Another forum shutting down https://www.codeproject.com/script/Common/Error.aspx RIP Dream in code and Codeproject :( Re: Clear the devtool network monitor logs Programming Web Development by autowrecking … Items." It’s a user action, and unfortunately, no code can do that. Re: Do you participate in any other communities? Community Center Geeks' Lounge by Reverend Jim … party to maintain the site as an archive of great code, articles and technical advice. We are working hard to make… Re: I'd like to create a js for a dynamic location Programming Web Development by toneewa I signed up and tested the Snoopi code, and the following works. JQuery is needed. <!DOCTYPE html&… Re: I'd like to create a js for a dynamic location Programming Web Development by toneewa …, since you said they used fetch(). Without seeing all the code, not much more I can do here... maybe... especially if… Re: Python - MySQL - Too many connections? Programming Databases by cored0mp … later and therefore shall probably never have to refactor the code for performance reasons. **How many times do you have a… Re: Python - MySQL - Too many connections? Programming Databases by Reverend Jim Generally it is hard to offer SQL suggestions without seeing the code. Are you closing the connection manually, or are you using a context manager? Re: Python - MySQL - Too many connections? Programming Databases by jkon … on, if no I could you provide you my Python code on this (although I am not expert in Python ... but… Re: The powerful of ChatGPT Community Center by Lihui Zhang … tools like ChatGPT. While ChatGPT can provide quick answers and code snippets, it lacks the human element and depth of discussion… Re: Trying to display all records for a specific customer Programming Web Development by Reverend Jim I don't work with PHP although I've done a fair bit of SQL and SQL selects return recordsets that you have to step through to get all of the returned records so I'm thinking you'll need to process the records in a loop. Your comment >/A record was returned, display results implies that you are expecting only one record. Perhaps try the … Re: developing with AR Google Spatial API with non supported region Programming Mobile Development by rproffitt You didn't tell what region. Given that Russia fined Google $20000000000000000000000000000000000 - that's 2.5 trillion trillion trillion dollars I don't expect Google to give you access. Re: developing with AR Google Spatial API with non supported region Programming Mobile Development by AsifJavaid_1 Hi, I am from Pakistan and developing an APP for USA market. Can we use Google spatial api without VPS in non supported region where Google street view data is not massively available as it is in USA? Thank you. Asif. Re: developing with AR Google Spatial API with non supported region Programming Mobile Development by Dani Google's Geospatial API works in any region where Google Street view exists. If Google Street view doesn't exist for a given area, the API won't be able to generate data for that area. Sorry.