addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscontroller-playcrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobegmailgooglegroupshelp-with-circleimageimagesinstagramFill 1light-bulblinklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1ShapeoutlookpersonJoin Group on CardStartprice-ribbonprintShapeShapeShapeShapeImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruserwarningyahoo

Mailing List Archive

Subject Sender Date
Re: [php-49] SQL Error On Statement - take a look at the documentation for the join syntax: https://dev.mysql.com/doc/refm­an/ Dave P. Oct 18, 2017 6:28 AM
Re: [php-49] SQL Error On Statement - You can't figure this out by yourself?  On Oct 18,[masked]:38 AM, "max steinmetz" < [address removed] > wrote: Paige Thompson (. Oct 18, 2017 5:46 AM
Re: [php-49] SQL Error On Statement - My thumb hit the send key whilst I was still typing. Argh. max s. Oct 18, 2017 5:45 AM
SQL Error On Statement - I'm attempting to write a simple SQL inner join statement, aliased, which will return a row which contains the columns:  `mat.ThreadID`,   `mat.ThreadTitle`, max s. Oct 18, 2017 5:38 AM
Re: [php-49] Sql Error Base Table Not Found - So i’m correct in that something is missing, but wrong as max s. Oct 15, 2017 5:04 PM
Re: [php-49] Sql Error Base Table Not Found - Edward B. Oct 15, 2017 5:01 PM
Sql Error Base Table Not Found - I have an error as i'm trying to upload my test site to the live server which reads as follows and I want to know if I'm understanding it correctly or not. I believe that this means that the file is not finding ' max s. Oct 15, 2017 4:51 PM
Re: [php-49] Not understanding error message # - … some people just think they’re soooooo smart (it’s max s. Oct 6, 2017 8:15 PM
Re: [php-49] Not understanding error message # - Yes on TLDR. The reason it's an array is because as David pointed out you're passing $row (the result from mysqli_fetch_assoc) in to the dbOut function. Then you're trying to reference the "ThreadPhase"th element of the array that the dbOut funct Tim B. Oct 6, 2017 8:15 PM
Re: [php-49] Not understanding error message # - You have ['ThreadPhase'] outside your parentheses :-) David On Oct 6,[masked]:55 PM, " David M. Oct 6, 2017 8:11 PM
Re: [php-49] Not understanding error message # - Hi Tim — TLDR means ‘Too long to read’ ye max s. Oct 6, 2017 8:10 PM
Re: [php-49] Not understanding error message # - TLDR: Remove this function; sanitize data before it goes in, not when it comes out. If you really need to trim all the values of an array, you'll have to iterate over them, either with a foreach loop or with array_walk. More importantly thou Tim B. Oct 6, 2017 8:04 PM
Not understanding error message # - Hi Folks So I'm getting an error which i've not been able to parse though and I am very confused. If i am understanding the error message, TRIM() wants the first parameter to be a string, but an array i max s. Oct 6, 2017 7:55 PM
Re: [php-49] Re: SQL / SELECT Loop does not return expected result - OH… did i mention i haven’t slept in three days due to max s. Oct 6, 2017 1:21 PM
Re: [php-49] Re: SQL / SELECT Loop does not return expected result - You're casting `Codename` to an int. The integer value of 'Hawkeye' is 0. $cName Dave P. Oct 6, 2017 1:19 PM
Re: SQL / SELECT Loop does not return expected result - I was still working on formatting my question and my thumb slipped an hit the return key (Argh). Sorry about that folks. But i think my problem/question is understanding, what is happening to the value/int i'm pulling from the session a max s. Oct 6, 2017 1:14 PM
SQL / SELECT Loop does not return expected result - I wrote a small snippet and I'm getting a very surprising result. I expected the $cID to be '54', instead it comes back as '0' which means nothing was found. I've tested my sql in Adminer and I max s. Oct 6, 2017 1:12 PM
Re: [php-49] HTTPS on local VM - The .dev tld is owned by google and subject to resolve to whatever they decide they want it to, you shouldn't use it for VMs (despite the numerous people who do and tell you it's fine.) There is a .localhost tld t Andrew B. Oct 5, 2017 7:29 PM
OFF TOPIC: Potluck - John S. Oct 5, 2017 9:23 AM
Re: [php-49] HTTPS on local VM - Try it being case sensitive: Justin R. Oct 3, 2017 5:06 PM
Re: [php-49] HTTPS on local VM - Brian N. Oct 3, 2017 5:04 PM
Re: [php-49] HTTPS on local VM - That’s an unreliable Apache variable that only works a Justin R. Oct 3, 2017 5:02 PM
HTTPS on local VM - 96 Brian N. Oct 3, 2017 4:57 PM
Re: [php-49] Syntax - SQL update statement (I bet it's obvious...) - I tried that, but i might have add another error at the tim max s. Sep 30, 2017 10:41 AM
Re: [php-49] Syntax - SQL update statement (I bet it's obvious...) - I think Dave is saying, No comma after :CatOthers only... do leave the rest of the commas. Another David David M. Sep 30, 2017 7:59 AM
Re: [php-49] Syntax - SQL update statement (I bet it's obvious...) - You do need them, you just have one too many (the last one). $sql = "UPDATE `ma_categories`     SET         `CatID`          = :CatID,         `CatTitle`       = :CatTitle,         Dave P. Sep 30, 2017 7:58 AM
Re: [php-49] Syntax - SQL update statement (I bet it's obvious...) - …So you’re not suppose to have a comma at the end of ea max s. Sep 30, 2017 7:47 AM
Re: [php-49] Syntax - SQL update statement (I bet it's obvious...) - Dave P. Sep 30, 2017 7:28 AM
Syntax - SQL update statement (I bet it's obvious...) - I'm attempting an update pdo statement and i'm getting an error that something is wrong with my sql, but from what i can tell, i believe it is correct. I'm sure it's something obvious that I can't see. I worked on it yes max s. Sep 30, 2017 7:05 AM
My First Composer Package - awoods/world - Hey everyone, Yesterday I made my first package available on Packagist. It'd be great if you could take a look at it, or ideally try it out, as I'd like to get your thoughts on how I could improve it.  Andrew Sep 28, 2017 11:10 AM
great coding interview site - I was doing some practice white boarding and was looking around for questions to practice on. I found a cool site: https://www.interviewcake.com/­ W Mark S. Sep 26, 2017 8:41 PM
Re: [php-49] Getting value from array of multidimensional arrays - Thanks - i got this solved, and then i took a short nap whi max s. Sep 16, 2017 9:13 PM
Re: [php-49] Getting value from array of multidimensional arrays - You're not using the foreach loop. foreach $array as value/sub_array your callback isn't [0]  it's just $c foreach($charArray as $c){ Clayton Sep 16, 2017 6:29 PM
RE: [php-49] Getting value from array of multidimensional arrays - Will H. Sep 16, 2017 3:44 PM
Re: [php-49] Getting value from array of multidimensional arrays - I’ve continued working on this and i’ve gotten closer, max s. Sep 16, 2017 12:54 PM
Getting value from array of multidimensional arrays - I'm trying to get the cName from the array which maps to the $cID of '2'. Hoping for some help - i'm sure its something simple where i am off. I've googled and stacked but having found an example i max s. Sep 16, 2017 11:54 AM
Re: [php-49] UPDATE PDO Statement not working - What Tim said about $db, but also: your update statement contains PHP variables as column names! That is surely not what you intended. On Sep 13,[masked]:20 PM, "max steinmetz& Kirk P. Sep 13, 2017 6:28 PM
Re: [php-49] UPDATE PDO Statement not working - 1) What's the error? 2) It looks like you instantiate a PDO object as $db and later call prepare() on $pdo. If your error is "trying to call prepare on a non-object" that'd be why. On 9/13/[masked]:20, max steinmetz wrote: > HI Folks, > > So i Tim B. Sep 13, 2017 6:03 PM
UPDATE PDO Statement not working - HI Folks, So i know how to do an update statement using mysqli, so now i'm trying to figure out how to do it with pdo as i realized yesterday that i'd never done an update pdo statement/action. So i've got a s max s. Sep 13, 2017 5:20 PM
Re: [php-49] Looking for a few more volunteers at PNWPHP this week! - I'm still looking for about 3 more volunteers. Volunteers will be able to attend the conference at no cost. On Wed, Sep 6, 2017 at 1:13 PM, Tessa Mero < Tessa M. Sep 6, 2017 1:15 PM
Re: [php-49] Looking for a few more volunteers at PNWPHP this week! - My preferred email is max s. Sep 6, 2017 1:14 PM
Re: [php-49] Looking for a few more volunteers at PNWPHP this week! - Can you send me your email Max? You're not popping up anymore. Thanks! On Wed, Sep 6, 2017 at 1:13 PM, Tessa Mero < Tessa M. Sep 6, 2017 1:13 PM
Re: [php-49] Looking for a few more volunteers at PNWPHP this week! - I'd love that Max. :) I'll add you to Slack. :) On Mon, Sep 4, 2017 at 7:24 PM, max steinmetz < php-49@m Tessa M. Sep 6, 2017 1:13 PM
PNWPHP Conference Starts Tomorrow - Have you got your ticket yet? Ranges $24.99 and up! - Have you purchased your ticket yet for the Pacific Northwest PHP Conference here in Seattle? The workshop day starts tomorrow and the official conference begins this Friday Sept 8th, 2017. Tessa M. Sep 6, 2017 12:34 PM
Meetup Tonight! (Wednesday Sept 6th at 6:00PM) - Don't forget to join us at the Meetup tonight at the WeWork location on South Lake Union. (Not the same WeWork that we met prior).  This event today is free to anyone! Thank you to Twilio for sponsoring our venue for this months meetup! Tessa M. Sep 6, 2017 12:29 PM
Re: [php-49] Pre Conference / Post Meetup Social - I would like to go to the drink up(?) following the meet max s. Sep 5, 2017 12:29 PM
Re: [php-49] Pre Conference / Post Meetup Social - Replying to this thread is a perfectly reasonable way to RSVP, and if you include your email address I will add you to the calendar event so you can setup reminders if you like. On Margaret S. Sep 5, 2017 12:27 PM
Re: [php-49] Pre Conference / Post Meetup Social - RSVP for the social event *here*?  Or via Meetup somehow? On Mon, Sep 4, 2017 at 6:02 PM, Margaret Staples < ph Kirk P. Sep 5, 2017 11:31 AM
Re: [php-49] Associated Array (can not get the key, only the value) - Part of the problem: while($row = $result->fetch(PDO::FETCH_ASSO­C)) {# pull data from associative array $int = (int)$row['ThreadID']; $title = $row['ThreadTitle']; $threadArray[$int] = [$title]; } So when you are storing the singular title, Michael C. Sep 5, 2017 8:43 AM
Re: [php-49] Looking for a few more volunteers at PNWPHP this week! - max s. Sep 4, 2017 7:24 PM
Pre Conference / Post Meetup Social - There will be a get together after Wednesday evening's Seattle PHP meetup located a short walk up Yale at Feierab Margaret S. Sep 4, 2017 6:02 PM
Looking for a few more volunteers at PNWPHP this week! - Hi All, I am looking for morning helpers Friday Sept 8th at 7AM and Saturday Sept 9th at 7AM. (I need help with carrying coffee from Starbucks mostly...) Anyone who volunteers will have a free day pass for that day for helping between 7am and 9 Tessa M. Sep 4, 2017 5:42 PM
Re: [php-49] Associated Array (can not get the key, only the value) - Thank you David, Aaron, and Tim, I love this list and hope max s. Sep 4, 2017 4:41 PM
Re: [php-49] Associated Array (can not get the key, only the value) - Try something like: foreach($threadArray as $key => $valueAsArray) {    $valueDesired = $valueAsArray[0]; .... David M. Sep 4, 2017 4:28 PM
Re: [php-49] Associated Array (can not get the key, only the value) - I tried the following, which i think i’ve tried before, not sure if i did or not but it looks familiar to me but at this moment EVERYTHI max s. Sep 4, 2017 4:22 PM
Re: [php-49] Associated Array (can not get the key, only the value) - body{font-family:Hiragino Sans,Arial;font-size:14px} Aaron K. Sep 4, 2017 4:18 PM
Re: [php-49] Associated Array (can not get the key, only the value) - that helps me to understand what i’m not realizing, so th max s. Sep 4, 2017 4:16 PM
Re: [php-49] Associated Array (can not get the key, only the value) - Your initial 'keys' have values that are actually arrays. Your while () with list () is only getting you the inner array.  You'd need to loop so that you get a key and then pull the first item off the array that is the corresp David M. Sep 4, 2017 4:14 PM
Re: [php-49] Associated Array (can not get the key, only the value) - This is how I build the array max s. Sep 4, 2017 4:11 PM
Re: [php-49] Associated Array (can not get the key, only the value) - I would try that, but that won’t work as the initial arra max s. Sep 4, 2017 4:06 PM
Re: [php-49] Associated Array (can not get the key, only the value) - I’m trying to get max s. Sep 4, 2017 4:01 PM
Re: [php-49] Associated Array (can not get the key, only the value) - body{font-family:Hiragino Sans,Arial;font-size:14px} Aaron K. Sep 4, 2017 4:00 PM
Re: [php-49] Associated Array (can not get the key, only the value) - What is the output that you're expecting?  On Sep 4,[masked]:46, "max steinmetz" < [address removed] > wrote: Tim B. Sep 4, 2017 3:59 PM
Associated Array (can not get the key, only the value) - This is a dump of the array of arrays of key / value pairs, and i can get the value but not the key. I've tried while loops, foreach loop max s. Sep 4, 2017 3:46 PM
Live Streaming Tickets for PNWPHP only $24.99! - Hi All, For those who cannot make it to the Pacific Northwest PHP Conference next week, we will be live streaming the PNWPHP event. (Non recorded). From 9am to 6pm. We are selling Friday Sept 8th, 2017 streaming tickets for $24.99 and S Tessa M. Aug 31, 2017 12:20 PM
Come to our Free event for all next Wednesday! We have a venue! Food! - Thank you to Twilio for sponsoring our event venue next Wednesday! This event is for anyone to join. We will be meeting at WeWork in South Lake Union. Snacks/Beverages will be provided!   Tessa M. Aug 31, 2017 12:15 PM
Re: [php-49] Odd array results - several offsets - I don’t know why, perhaps i’ll die, but I revised the l max s. Aug 30, 2017 4:28 PM
Re: [php-49] Odd array results - several offsets - I got a trace back finally - it was hidding i don’t know where, but i pulled the original code and plugged it back in to work off of, an max s. Aug 30, 2017 4:14 PM
Re: [php-49] Odd array results - several offsets - i ran the var dump two different ways: individual vardumps triggered only ei max s. Aug 30, 2017 3:17 PM
Re: [php-49] Odd array results - several offsets - Can you dump this out? I have a feeling something is not as it seems. var_dump($arCharStage, $row['StatusID']); On 8/30/[masked]:12, max steinmetz wrote: > currently it is initially coming back as 'string(1) “5”’ > I did a var dump to get th Tim B. Aug 30, 2017 1:27 PM
Re: [php-49] Odd array results - several offsets - currently it i max s. Aug 30, 2017 1:11 PM
Re: [php-49] Odd array results - several offsets - What is the datatype and value of $row['StatusID']? On 8/30/[masked]:07, max steinmetz wrote: > The same result. It’s very weird. > > >> On Aug 30, 2017, at 12:51 PM, Tim Bond > > wrote: >> >> $a Tim B. Aug 30, 2017 1:08 PM
Re: [php-49] Odd array results - several offsets - The same result. It’s very weird. max s. Aug 30, 2017 1:07 PM
Re: [php-49] Odd array results - several offsets - What I meant was turn this: $arCharStage[dbOut($row['StatusID'])]; Into this: $arCharStage[$row['StatusID']]; On 8/30/[masked]:44, max steinmetz wrote: > > > > > I revised the line like so: $int = $arCharStage['StatusID']); > > I think th Tim B. Aug 30, 2017 12:51 PM
Re: [php-49] Odd array results - several offsets - max s. Aug 30, 2017 12:44 PM
Re: [php-49] Odd array results - several offsets - This function isn't needed. Your DB will not return slashed content, or if it does, it would be part of the *actual* data. This function is likely to cause runtime bugs in your application. In addition, you shouldn't be needing to remove spaces o Tim B. Aug 30, 2017 12:37 PM
Re: [php-49] Odd array results - several offsets - This is the function — sorry for the delay — i was out max s. Aug 30, 2017 12:03 PM
Re: [php-49] Odd array results - several offsets - That's fine, they get casted automatically: https://3v4l.org/jMO55 On 8/30/[masked]:15, George Marian wrote: > The keys of this array are actually strings: > > $arCharStage= [ > "0"  => "Character Status Not Set", #non standards default setting Tim B. Aug 30, 2017 10:29 AM
Re: [php-49] Odd array results - several offsets - The keys of this array are actually strings: $arCharStage= [ George M. Aug 30, 2017 10:15 AM
Re: [php-49] Odd array results - several offsets - Can you post the source of the dbOut function? On 8/30/[masked]:45, max steinmetz wrote: > Hi folks so i'm getting an odd array result that I can't seem to > resolve, the array runs and I have the following results on an array > with 14 attributes Tim B. Aug 30, 2017 10:07 AM
Odd array results - several offsets - Hi folks so i'm getting an odd array result that I can't seem to resolve, the array runs and I have the following results on an array with 14 attributes contained within it. As I know that their are 14 attributes within the array th max s. Aug 30, 2017 9:45 AM
Re: [php-49] Looking for PNWPHP Volunteers - Greeters! - I sent a slack invite. In the #volunteers channel can you comment where you want to volunteer and the times so I can add it :-) Tessa M. Aug 29, 2017 7:45 PM
Re: [php-49] Looking for PNWPHP Volunteers - Greeters! - monkeework@g max s. Aug 29, 2017 3:47 PM
Re: [php-49] Looking for PNWPHP Volunteers - Greeters! - Wonderful. What email can I add to the slack channel? On Aug 29, 2017, at 10:15, max steinmetz < Tessa M. Aug 29, 2017 3:21 PM
Re: [php-49] Looking for PNWPHP Volunteers - Greeters! - Hi Tess - i’m happy to help as needed. max s. Aug 29, 2017 10:15 AM
Looking for PNWPHP Volunteers - Greeters! - Hi All,   I'm looking for a few volunteers to help guide people towards the correct direction. I'd give more directions and information once I onboard you, of course. :-) I also have signs ready to go.   Please email T Tessa M. Aug 29, 2017 10:15 AM
Free Event for All - Sept 6th Meetup - 2 Speakers announced! Need Venue! - Hi All, Just a reminder this meetup is free for anyone to attend. We will have snacks and beverages! We have 2 speakers announced - Andrew Woods and Jefferson Martin. Click here Tessa M. Aug 28, 2017 8:33 PM
Looking for Speakers / Venue for Septembers PNWPHP Meetup! (FREE event/Food) - Hi All, Anyone would like to donate their venue space for our meetup next Wednesday? I'll also be providing us drinks and appetizers for this event! And if you are interested in speaking, please let me know. Somehow I thought this was a Tessa M. Aug 27, 2017 9:09 PM
RE: [php-49] Foreach loop returns 'String to array conversionerror' - Will H. Aug 24, 2017 5:39 PM
Re: [php-49] Foreach loop returns 'String to array conversion error' - Sure thing glad I could help! Adam On Aug 24, 2017, at 17:29, max steinmetz < Adam B. Aug 24, 2017 5:37 PM
Re: [php-49] Foreach loop returns 'String to array conversion error' - OK - this is making so much more sense to me now - thank yo max s. Aug 24, 2017 5:29 PM
Re: [php-49] Foreach loop returns 'String to array conversion error' - Thanks — I shall explore and plum this further. Thanks � max s. Aug 24, 2017 5:24 PM
RE: [php-49] Foreach loop returns 'String to array conversion error' - Adam B. Aug 24, 2017 5:23 PM
Re: [php-49] Foreach loop returns 'String to array conversion error' - Hmm… i still brain farting it seems. I am returning a result as follows (I think that maybe each result is over max s. Aug 24, 2017 4:16 PM
Re: [php-49] Foreach loop returns 'String to array conversion error' - Damn I could have answered that onE :) Trigve H. Aug 24, 2017 4:00 PM
Re: [php-49] Foreach loop returns 'String to array conversion error' - Thanks to the both of you. max s. Aug 24, 2017 3:49 PM
RE: [php-49] Foreach loop returns 'String to array conversion error' - Adam B. Aug 24, 2017 3:42 PM
Re: [php-49] Foreach loop returns 'String to array conversion error' - Well, your error specifically is that $cName is an array rather than an expected sring. var_dump($cName) or print_r($cName) it and see what's going on within the nesting. On Thu Jack P. Aug 24, 2017 3:34 PM
Foreach loop returns 'String to array conversion error' - So, i’m having a complete brainfart and I can’t recall evidently how to echo out a value from an array within a loop. I feel like I’m doing this correctly, and everyt max s. Aug 24, 2017 3:31 PM
One Day Sale - 20% off PNWPHP Tickets - Conference in 2 weeks! - Hi All,  you can register with 20% off for a 3-day conference pass using this code:  20OFF Valid Friday only August 25th 8:00 AM to 11:59PM. Registration link found here: https://www.eventbrite.c­om/e/pacific-northwest-php Tessa M. Aug 23, 2017 3:15 PM

Our Sponsors

  • PluralSight

    PluralSight subscriptions for developer training

  • O'Reilly

    Disc Code: PCBW is good for 40% off print and 50% off ebooks and videos

  • JetBrains PhpStorm

    Occasional free licenses to raffle off at meetups

  • DynaTrace

    Find yourself, promote yourself, stay true to yourself.

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy