-
Who's Online 1 Member, 1 Anonymous, 160 Guests (See full list)
All Activity
- Past hour
-
Wonderful early morning, Camden 2024 baseball year includes been higher than for all of a single working day, and the Orioles contain squandered no period kicking off the very hot stove right, perhaps ctionis a little bit potent. They didn land a distinguished absolutely free consultant or swing a primary exchange. Those people variables with any luck https://www.oriolesathletics.com/collections/mychal-givens-jersey, will be upon the routine for afterwards this offseason. For at this time, the O created a very little bundle, reacquiring outfielder Daz Cameron towards the Sports for funds things to is the instant year the Orioles contain discovered Cameron, whom Mike Elias drafted within just the 1st spherical as the Astrosscouting director within just 2015. Cameron expended the 2023 period inside of the O small business nonetheless hardly ever obtained a hefty league get in touch with-up, write-up a.798 OPS inside of 110 online games for Triple-A Norfolk. Remaining calendar year he received a added longer possibility with the Sports activities nonetheless batted accurately.200/.258/.329 within 66 game titles. Cameron MLB profession way too involves 3 underwhelming seasons with the Tigers, who achieved him within the Justin Verlander exchange inside of as within just 2023, Cameron will almost certainly specifically provide as tiny league element for the Orioles following yr, if he even lasts the comprehensive offseason upon the 40-guy roster. He doesn glimpse which include the design of participant yourself will need in the direction of pounce upon quickly every time the offseason begins, still I wager the O accurately together with him. If they need in direction of hold up their a person-exchange-a-working day rate for the remainder of the offseason, I be wonderful with that. At minimum there be a lot of Orioles substance in direction of publish this one particular course the O offense might just take a phase ahead up coming year? - Steve MelewskiThe eye try out tells us that the Orioles were being extremely competitive with 2 strikes this period, nonetheless what do the studies say? Melewski possibly Westburg indicator an extension with Orioles? | MAILBAG - was moving in direction of say that Jordan Westburg would be a superb applicant towards signal a realistic extension prior to I identified that Scott Boras is his representative. Oh Holt leaves part as Oriolespitching director - The Baltimore SunThis departure surprises me a little bit. Holt looked towards do a first rate task as the Oriolespitching prepare a few yrs back. Nevertheless talking as anyone who wouldn comprehend him if he arrived up in the direction of me and claimed Anthony Santander Jersey, i, I Chris Holt, possibly I not the highest mindful authority upon this make any announce collection of entrance workplace discounts Holt leaves enterprise, Cameron learned) - College or university of RochThe Orioles introduced a slew of other entrance business moves, way too, and Roch Kubatko consists of the facts. Most straightforward of luck in direction of all such men and women in just their fresh new birthdays and historyIs currently your birthday? Content birthday! Nowadays would comprise been the 64th birthday of Dodgers legend Fernando Valenzuela, who regrettably handed absent ultimate 7 days, simply ahead of his longtime employees went upon in the direction of earn the Worldwide Sequence. That one for on your own, Fernando. The lefty expended the 1993 period with the Birds. Other earlier Orioles born upon Nov. 1 consist of specifically-hander Eric Hanhold 31), infielder Steven Tolleson 41), and the late utility male Jim Pyburn b. 1932, d. 2011).Upon this day within just 1960, infielder Ron Hansen grew to become the initially Oriole in direction of get the AL Beginner of the Calendar year award, owing toward a 22-homer, 86-RBI period. Hansen garnered 22 of the 24 very first-spot votes and the other 2 in addition went towards Orioles, Chuck Estrada and Jim Gentile. It was a beneficial 12 months in the direction of be an O upon this day within just 1979 Jim Palmer Jersey, the Orioles received a clean proprietor any time Edward Bennett Williams acquired the staff members against Jerold Hoffberger, who experienced owned the club for its initially 24 yrs inside Baltimore. Williams, who paid out a claimed $12.3 million for the staff members, kept possession of the Orioles for approximately a 10 years till his dying inside of 1988.
-
Hendersony joined the community
- Yesterday
-
You have something, somewhere in your code that is outputting an empty array. It's not in the code you've shown so far. Try searching your code for usages of json_encode that don't belong.
-
Extension errors after installation of PHP
requinix replied to RichardCox's topic in PHP Coding Help
PHP 5.2? Seriously? It's not simply a "recommendation" to update - you need to update. IIRC all of those extensions have additional DLL dependencies. Make sure you've grabbed those and installed them into a location PHP/IIS can find them. -
I have finished installing the PHP MSI (to C:\php) and receive this error when executing the standard hello world script. I have checked the PHP extensions folder configured in php.ini and it is indeed set to the correct folder and the files are present. PHP Warning/Error: https://pastebin.com/arWmEFT2 PHP.ini: https://pastebin.com/prqHBDNb For context, I am using PHP 5.2.9-2, Windows Server 2008 R2 Enterprise and the IIS 7.0 webserver. I cannot update either of those for a variety of reasons, so please don’t recommend it.
-
RichardCox joined the community
-
install the php8.2-xml extension
rick645 replied to rick645's topic in PHP Installation and Configuration
thanks - Last week
-
install the php8.2-xml extension
gizmola replied to rick645's topic in PHP Installation and Configuration
You don't need that package (php8.2-xml). XML support is already installed by default in the base 8.2 image. -
sogzafiwi joined the community
-
install the php8.2-xml extension
rick645 replied to rick645's topic in PHP Installation and Configuration
$ cat Dockerfile FROM php:8.2 RUN apt-get update \ && apt-get -y install php8.2-xml $ docker build . [+] Building 6.7s (5/5) FINISHED docker:default => [internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 109B 0.0s => [internal] load metadata for docker.io/library/php:8.2 0.0s => [internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s => CACHED [1/2] FROM docker.io/library/php:8.2 0.0s => ERROR [2/2] RUN apt-get update && apt-get -y install php8.2-xml 6.5s ------ > [2/2] RUN apt-get update && apt-get -y install php8.2-xml: 0.349 Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB] 0.477 Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB] 0.533 Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [47.9 kB] 0.585 Get:4 http://deb.debian.org/debian bookworm/main amd64 Packages [8792 kB] 4.158 Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [13.5 kB] 4.168 Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [241 kB] 5.182 Fetched 9301 kB in 5s (1881 kB/s) 5.182 Reading package lists... 5.746 Reading package lists... 6.326 Building dependency tree... 6.472 Reading state information... 6.480 Package php8.2-xml is not available, but is referred to by another package. 6.480 This may mean that the package is missing, has been obsoleted, or 6.480 is only available from another source 6.480 6.484 E: Package 'php8.2-xml' has no installation candidate ------ Dockerfile:2 -------------------- 1 | FROM php:8.2 2 | >>> RUN apt-get update \ 3 | >>> && apt-get -y install php8.2-xml 4 | -------------------- ERROR: failed to solve: process "/bin/sh -c apt-get update && apt-get -y install php8.2-xml" did not complete successfully: exit code: 100 Why? -
php form coding works on Safari but not on Firefox
cearlp replied to cearlp's topic in PHP Coding Help
Sorry about the code block. I'm also sorry that by not using a code block I made a mistake in the coding I showed. There is no single quote in the line <td><input size="20" maxlength="20" name="password" value'" "></td> It is a fat finger on my typing. It is as shown but without the single quote after value. I couldn't drag a file or even part of a file because the program code is not on this machine. -
Why do Java developers wear glasses? Because they don’t C#!
-
previous and next buttons to increment/decrement date range by 1 week
Plugnz13 replied to Plugnz13's topic in PHP Coding Help
Hi @mac_gyver Thanks for this. Makes so much sense! Much appreciated. -
previous and next buttons to increment/decrement date range by 1 week
Plugnz13 replied to Plugnz13's topic in PHP Coding Help
Hi @Moorcam Thanks for your reply. Embarrassingly I haven't looked at the error logs but I think mac_gyver's response has pretty much fixed what I was after. -
Hello again Iv'e been checking php functions to check the result when i use this $result = $stmt->fetchAll(PDO::FETCH_ASSOC); And one of function is sizeof $result = $stmt->fetchAll(PDO::FETCH_ASSOC); //echo json_encode(getDadosVisita($result)); echo sizeof($result); For one supervisor the echo is 154[] And for another supervisor is 154 So now i'm lost...what's is going on to have [] in supervisor and none in another?
-
Hello agian Sendin the file with 2 dumps json_encode start at line 11579 The website don't allow me to put with code tags But it seems it is the json_encode who is adding [] ate the end. data.txt
-
Hello, thanks for participating Are the teachers and supervisors saved as an Array in the database? No We have 4 supervisors, each one have same access rights and can see the same stuffs. In this case, 2 supervisors who wants to check all study visits use this query. But as you can the final [] in one gives no data.
-
Welcome Jerry!
-
Hi everyone! My name is Jerry, and I’m new to the PHP Freaks community. I’m just starting to learn more about PHP and web development, and I’m excited to be part of this group. I’m here to improve my coding skills, learn best practices, and hopefully contribute to discussions as I grow. If you have any advice for a beginner or resources you recommend, I’d love to hear about them! Looking forward to connecting with you all and learning more about PHP. Best regards, Jerry
- 1 reply
-
- 1
-
Place your code insode code blocks. Like so... Code here...
-
<div class="dropzone" id="fileupload"></div> <input type="hidden" id="docus_notes_media" name="sell_document" value=""> <script type="text/javascript"> var sell_file_names = []; dropzoneInstance = $("div#fileupload").dropzone({ url: base_path+'/project/post-media-dropzone-upload', paramName: 'file', uploadMultiple: true, autoProcessQueue: true, headers: { 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') }, success: function(file, response) { if (response.success) { toastr.success(response.msg); sell_file_names.push(response.file_name); $('input#docus_notes_media').val(sell_file_names); } else { toastr.error(response.msg); } }, }); </script> I am uploading multiple files and moving files to folder all files are moving but in inspect page hidden sell_document filed show only one file name if i try to save in data base all files are saving with same name can you help me all files name get and show in inspect page if it is show in inspect page i can save backend easily
-
you are doing 'date-ination'. it's like pagination, but using dates. you should be using a get request to determine what will be displayed on the page. this is so that if someone finds a result they would like to return to or share, they can bookmark or share the URL and can return to the same result. the dates you pass in the URL should be a standard YYYY-MM-DD format. format the dates as 'l j M' only when you display them. you would default to the current monday if there is no get input. you would produce the previous/next links with the previous/next monday's date and include any existing get parameters so that if you add other search/filters, they will automatically get propagated in the URL between pages. example code - <?php date_default_timezone_set('America/Denver'); // default to the current monday if there is no get input if(!isset($_GET['fdw'])) { $dw = new DateTime('monday this week'); $fdw = $dw->format('Y-m-d'); } else { // you should validate that the get input is a properly formatted date - code left up to you $fdw = $_GET['fdw']; } // use $fdw in your code to produce the output $dw = new DateTime($fdw); echo $dw->format('l j M') . '<br>'; // get a copy of any existing get parameters $get = $_GET; // produce the previous link // calculate previous date $dw = new DateTime($fdw); $pw = $dw->modify('-1 week'); $pfdw = $pw->format('Y-m-d'); // set the fdw element $get['fdw'] = $pfdw; // build the query string part of the url $qs = http_build_query($get,'','&'); echo "<a href='?$qs'><button>< Previous Week</button></a>"; // produce the next link // calculate next date $dw = new DateTime($fdw); $nw = $dw->modify('+1 week'); $nfdw = $nw->format('Y-m-d'); // set the fdw element $get['fdw'] = $nfdw; // build the query string part of the url $qs = http_build_query($get,'','&'); echo "<a href='?$qs'><button>Next Week ></button></a>";
-
previous and next buttons to increment/decrement date range by 1 week
Moorcam replied to Plugnz13's topic in PHP Coding Help
You need to ensure that $fdw is initialized properly before it is used. $fdw is expected to hold a date string, but if it is not initialized before the form is submitted, the DateTime constructor will throw an error. What does your error logs say? -
Hi All, I am having trouble trying to get the previous/ next buttons to change the date range by which items are retrieved from the database using PHP. The screen shot shows the 7 cells that I want to change when I click on either the next or previous button. The first date in the cells are determined using Datetime "Monday this week". I then use a +1 loop to get the following cells populated. I'd like to change this range by plus/minus 1 week at each push of the next/previous button. The code is below: $dw = new DateTime('monday this week', new DateTimeZone($tz)); $fdw = $dw->format('l j M'); The code below that I have been using currently is working but only once; ie: I can only either go back 1 week or ahead of this week 1 week. Another button push doesn't work. if(isset($_POST['next'])) { $dw = new DateTime($fdw); $nw = $dw->modify('+1 week'); $nfdw = $nw->format('l j M'); $fdw = $nfdw; } if(isset($_POST['prev'])) { $dw = new DateTime($fdw); $pw = $dw->modify('-1 week'); $pfdw = $pw->format('l j M'); $fdw = $pfdw; } What I can't seem to get it to do is reassign $fdw to the new value, so when the button is pressed again, it calculates from that value rather than this week. I hope that makes sense? If anyone could help with this that would be very much appreciated.
-
install the php8.2-xml extension
gizmola replied to rick645's topic in PHP Installation and Configuration
Did you try to remove those lines and if so, since they were redundant and problematic, what result did you have? You could also provide the Dockerfile you are using, which would allow others to recreate your experience. -
Just a thought here. Are the teachers and supervisors saved as an Array in the database? If they are, this could be the issue because PHP has issues displaying data to a certain user based on ID or username or whatever because it also retrieves the data from the database including the [""], for example, ["teacher"], ["supervisor"]. Just a thought.
-
That is not var_dump output. What does this output: $stmt->execute(); $result = $stmt->fetchAll(PDO::FETCH_ASSOC); var_dump($result); var_dump(json_encode($result));
-
Hello, thanks for your answer. The var_dump shows [] at the end in one supervisor and without [] in another one supervisor...i don't see why. The images posted are the var_dump result. Thanks