Jump to content
Old threads will finally start getting archived ×

All Activity

This stream auto-updates

  1. Past hour
  2. ➥ (Sale Is Live) →>> CLICK HERE TO GET BOTTLE ➥ CLAIM HERE@! Slimorol Deutschland:- is a dietary supplement specifically designed to support weight management. It is formulated to support metabolism, promote fat burning, and improve appetite control. The product is often offered in capsule form, which can be easily incorporated into your daily diet. Official Facebook@:- https://www.facebook.com/SlimorolDeutschland/ FB@:- https://www.facebook.com/groups/slimoroldeutschland FB@:- https://www.facebook.com/SlimorolErfahrungenDE/ FB@:- https://www.facebook.com/SlimorolErfahrungen/ FB@:- https://www.facebook.com/SlimorolKapseln/ FB@:- https://www.facebook.com/SlimorolKapselnDE/ FB@:- https://www.facebook.com/groups/slimorolerfahrungende FB@:- https://www.facebook.com/groups/slimoroldiehhlederlwen FB@:- https://www.facebook.com/groups/slimorolkapselnde/ Get More Info@:- https://www.italki.com/en/post/gVYdTyU1nuw1dHiKmU6YPt https://www.italki.com/en/post/gVYdTyU1nuw1dHiKmU6YT1 https://www.skillboxes.com/events/slimorol-deutschland-scherz-oder-echt-unbedingt-testberichte-und-kosten-lesen https://www.italki.com/en/post/I76z52c24RjCLoNRVoHYou https://sites.google.com/view/slimorol-deutschland/ https://groups.google.com/g/slimorol-deutschland/c/9rtMmXVc6qg https://colab.research.google.com/drive/1SixIC6F4vMORaBbklZOaIKnfZKfyZo3x?usp=sharing https://colab.research.google.com/drive/1MKXKFmuLWm7dOcCTukgXbWn7BM8z2wIS?usp=sharing https://slimorol-deutschland.hashnode.dev/slimorol-deutschland-dringende-warnung-vor-kundenschwindel-noch-nicht-kaufen https://slimorol-deutschland.hashnode.dev/slimorol-deutschland-aktualisiert-funktioniert-es-tatsachlich https://slimorol-deutschland.jimdosite.com/ https://slimorol-deutschland.mywebselfsite.net/ https://slimorol-deutschland-buy.mywebselfsite.net/ https://forums.ngames.com/forum/league-of-angels/support-ab/bug-report-ab/213703-slimorol-deutschland-neues-amazon-2025-ehrliche-meinungen-echter-benutzer https://nas.io/slimorol-deutschland/challenges/welche-komplikationen-knnen-bei-slimorol-deutschland-auftreten-ist-schdlich https://www.eventcreate.com/e/slimorol-deutschland https://eventprime.co/o/SlimorolDeutschland https://slimorol-deutschland.webflow.io/ https://slimoroldeutschland.godaddysites.com/ https://online.visual-paradigm.com/share/book/slimorol-deutschland-23ujx96lh2 Others Facebook@:- FB@:- https://www.facebook.com/ForeverKetoGummiesAustralia.AU/ FB@:- https://www.facebook.com/groups/tryforeverketogummiesaustralia FB@:- https://www.facebook.com/StallionXGummiesUnitedKingdom/ FB@:- https://www.facebook.com/StalliOnXReviewsUK/ FB@:- https://www.facebook.com/UK.StalliOnX/ FB@:- https://www.facebook.com/StalliOnXDragonsDenUK/ FB@:- https://www.facebook.com/ForeverKetoGummiesAustralia.AU/ FB@:- https://www.facebook.com/SlimorolDeutschland/ FB@:- https://www.facebook.com/SlimorolErfahrungenDE/ FB@:- https://www.facebook.com/SlimorolErfahrungen/ FB@:- https://www.facebook.com/SlimorolKapseln/ FB@:- https://www.facebook.com/SlimorolKapselnDE/ FB@:- https://www.facebook.com/StalliOnXDragonsDenUK/ FB@:- https://www.facebook.com/BeastForceMaleEnhancementUSA/ FB@:- https://www.facebook.com/HighlineWellnessCBDGummiesUS/ FB@:- https://www.facebook.com/VmaxMaleEnhancementUS/ FB@:- https://www.facebook.com/RollingHillsCBDGummiesAU/ FB@:- https://www.facebook.com/CuticaraNailFungusSoltuionKR
  3. Today
  4. in the mysql documentation, where the year() and curdate() functions can be found, there's a date_format() function that has a way of doing what you are asking - https://dev.mysql.com/doc/refman/8.4/en/date-and-time-functions.html#function_date-format didn't everyone learn from the y2k problem not to store years as 2 digits?
  5. a.year = '25' How do I get year(curdate()) to produce just the final two years? I've searched and can't find a specific instance to match my question. left join `a_aau` `a` on(`p`.`id` = `a`.`playerID` and a.year = year(curdate())))
  6. I agree with @gizmola Additionally though, a 404 error refers to a "resource requested could not be found on this server," so I would question whether you have the correct path to the data you are trying to upload. if you do, then I might suggest attempting to upload in smaller segments based on file size and see if any success occurs.
  7. Yesterday
  8. One of my co-workers swears by regex101, and it's very good - I think I just met regexr.com first and got used to it. Highly recommend checking out both.
  9. What I would like to do is have most of the numbers go to 2 decimals & just a few go to 4 decimals. The problem with that is if I set decimals to (10,4) so it will read a number like 32.0756 then 27.55 goes to 27.5500 & it looks kind of cumbersome. That's why I originally thought float was best for my database but I didn't know how floats were treated.
  10. secondary to the problem in this thread, if you are at the point of updating data, you should be using a unique id to reference specific row(s) of data.
  11. I do like the site, mainly for the Tests Tab. It allows you to create a number of test cases, which is invaluable when you're designing a new regex. Another site I also use is: https://regex101.com/ I think the help is a little bit better on this site, as it has a built in cheat sheet to the right of the site.
  12. To clarify, for DECIMAL(M, D) the M is maximum number of digits, less the reserved decimal places. So with your example the max number would be: 99,999,999.99
  13. Yes, set your definition as required for the maximum size of the number you need to handle. The M precision can be as large as 64 digits, but you should always try and size it to maximum size you need. If you truly need 10 digits to the left of the decimal point, then you should define the number as decimal(12, 2)
  14. Using the right data type for the right job is just part of the learning curve for any relational database. The mysql manual is not the easiest manual to read, but there is this general page: https://dev.mysql.com/doc/refman/8.4/en/precision-math-numbers.html
  15. Can I assume if I wanted to have the capability of a number as large as 125000.50 that I would need to set something like " cost decimal(10,2)" for that.
  16. As usuall you guys are right on the money. I spent all day working on this & even spent about an hour google searching to no avail. Why i never thought that float could be a problem was because the number sits right in the database as is & prints out as it is also. It's only the the = sign that doesn't recognize it.
  17. Yes, float is not the right data type to use for storing monetary values. Use a decimal. Here's an example: CREATE TABLE Product ( ProductID INT AUTO_INCREMENT KEY, item varchar(20), cost decimal(6,2) ); INSERT INTO Product (item, cost) values ('shoe', 27.55); INSERT INTO Product (item, cost) values ('hat', 27.89); UPDATE Product set item = 'sneaker' where cost = 27.55; You can see this example in action at db-fiddle: https://www.db-fiddle.com/f/veSL2xerpodFq79N2e4rUi/0 As an editorial comment, why are you interpolating the name of the table from a variable into a string? Use the table name. Your queries should also be using bind variables.
  18. To add to Barand's comment, your use statements need to be at the top of the file. This is literally the instructions from the project github page at https://github.com/PHPMailer/PHPMailer <?php //Import PHPMailer classes into the global namespace //These must be at the top of your script, not inside a function use PHPMailer\PHPMailer\PHPMailer; use PHPMailer\PHPMailer\SMTP; use PHPMailer\PHPMailer\Exception; //Load Composer's autoloader require 'vendor/autoload.php'; We do not know if this will actually work because we don't have any idea what your project layout is. For example, if your project webroot is /public, then these instructions won't work, because your path to the vendor/autoload.php would need to be: require '../vendor/autoload.php'; Using require will generate an error if the required file can not be located.
  19. you should use a decimal data type. a float data type suffers from floating point conversion errors, because some values cannot be exactly stored. the = comparison doesn't work because the actual value as a float is something like 27.550001 (just an example) the like comparison works because the value is converted to a string and the like compares the values character by character.
  20. what is the data type of the cost column?
  21. Last week
  22. I have a query that only works using like but not with = on decimal values even if the values are exact: $sql_amount=mysqli_query($con,"update $table set item='$item1' where cost= 27.55" ); $sql_amount=mysqli_query($con,"update $table set item='$item1' where cost like 27.55 " ); The second way works but I can't figure out why the first way doesn't. I can reverse the first query using set cost = 27.55 where item='$item1' & it works fine. Is there something I'm missing in the first command that will not let me use the "where" with an = sign on a decimal?
  23. That is a description of a problem. Do you have some code to look at? Debugging or error information? Without that, we can't help.
  24. Sounds like an Ajax app to me.
  25. Unless I'm missing something that link only descibes how to edit the mysql database which I arleady have no problem with. My only prblem is eidting the databse without having to reload the webpage. I'm not sure what API you're referring to but I didn't see it on the link you posted but I'm not even sure what API really is. What I'm looking for is a some way whether it's javascript, ajaxj,jquery or something else that will tell a php function to run on the server without reloding the page.
  26. i'm going to guess that the overall goal you are trying to accomplish is reading data from an api and insert new data into a database table or update existing data? if so, you can accomplish the insert new data/update existing data using a single query. see - https://dev.mysql.com/doc/refman/8.4/en/insert-on-duplicate.html
  27. I thought I could just change the php function in my example to a mysql call to edit a database & it would work from plain javascipt but I was obvuiously wrong. Thanks for setting me straight before I wasted any more time. It looks like I'm going to have to learn some ajax to do what I want. As for the page reloading time issue, I'm sure I can solve the time issue using just php code but I wanted to learn a way to execute a php function without reloading the page.
  28. danger of what? your example doesn't do what you think. the javascript is NOT calling the php function. the php code runs on the web server when the page is requested. the php code is echoing whatever the function produces (and the echo tester(); statement echoes a null value because the function is not returning anything.) if you look at the 'view source' in the browser of the page that this code is on, the output from the php code is already there. all the javascript is doing is taking what was assigned to the test variable and putting it into the id="tx1" element. the code might as well just directly echo whatever the function produces in the markup for the id="tx1" element. how often does this remote data change? you would need to cache/persistently store this remote data somewhere in order to avoid reading it again. web servers are stateless. they don't know or care what happens outside of the current http(s) request they are serving. when the php code on a page ends, all the resources used in the code are destroyed, so the remote data that you read is destroyed. perhaps if you provide a more helpful example of what you are trying to accomplish, rather than your proposed solution for accomplishing it?
  1. Load more activity
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.