« first day (2024 days earlier)      last day (2918 days later) » 

Wes
10:00 PM
not getting it :B
 
I have no idea how the announcer gets two syllables out of a one (diphthong'd) word.
 
Wes
lol, i did not know the word
there is no translation to italian, we just use oven i was wrong :B
 
10:28 PM
Hello guys
$wineryid = htmlspecialchars($_GET["winery_name"]);
$winetypeid = htmlspecialchars($_GET["wine_type"]);
//$sql = "SELECT * FROM wine, winery, wine_type WHERE wine.winery_id = winery.winery_id AND wine.wine_type = wine_type.wine_type_id";
$sql = "SELECT * FROM wine, winery, wine_type WHERE winery.winery_name ='$wineryid' AND wine_type.wine_type = '$winetypeid'";
These queries are making my server crash
can someone please help me see what's wrong
 
Wes
tricky, when you gotta fix bugs and it's the tests instead that should be fixed -__-
 
Wes please help!!
 
Wes
i don't own a 10 foot pole, and even if i did, i won't touch that with it
 
ok
can u help me with basic ideas
If i have three tables
 
Wes
learn about prepared statements, PDO
then come back
also learn about JOINs, don't use that syntax. it's the best way to confuse yourself
 
10:35 PM
If I have three tbales wine, winery, wine_types, how can I join them where their primary foreign keys are equal and where all attributes are a certain posted value
SELECT * FROM wine INNER JOIN winery WHERE winery.winery_name = '$wineryid' AND INNER JOIN wine_type WHERE wine_type.wine_type = $winetypeid
Does this statement make sense synctactically please help i have to demonstrate project tomorrow!!!
 
Wes
wine is not joined to winery in any way
 
I see. i want to join wine to winery but then filter it even more by only including results equal to $wineryid = winery_wine_name
srry winery.winery_name = $wineryid
 
Wes
SELECT * FROM wine
JOIN wineType ON wine.wineTypeID = wineType.ID
JOIN winery ON wine.wineryID = winery.ID
WHERE
    wineType.ID = '$winetypeid'
    AND
    winery.wineryName = '$wineryid'
 
oh oww
wow
let me check plz
 
Ekn
10:51 PM
dang it's hard to teach a 7 year old girl
s/girl/child to be more accurate
 
Wes
are you teaching php?
you must hate that girl :B
 
Ekn
no :p
teaching english and problem solving every now and then when she comes to me
plus she likes drawing so I set a table to her after a while and she uses all my pens and stuff :)
but she knows what's boolean, integer, array etc etc as well
at a veery basic level
 
Wes
tried to teach once. went bad up to previously unknown bad-levels :B
 
Ekn
:p
I helped 4 people I think in total... learn how to make websites
2 of them are now working as developers still
 
Wes
is there a formal name for the underlying data structure of doubly linked list?
i remember NodeChain or something like that but not sure
struct Chain{ Node $head, Node $tail }
@Ekn you are creating competitors!
!!urban w3schools
 
11:05 PM
[ w3schools ] a site created by webdevelopers whose only purpose is to misinform other webdevelopers in order to keep their job
12
 
Wes
you should do that too :B
 
Ekn
not sure about your question.. but they are chain of nodes anyways?
ha :p lol I like to inform people about useful things I know...
 
Wes
i meant the data structure that holds the references to head and tail nodes, and possibly a count
i remember there is a name (it's probably chain) from my school days
 
in the context of a graph it'd be an edge
 
Wes, you are a friggin lifesaver. Id give u a million dollars if i could u put me inthe right direction and helped me finish my project
thanks a lot
 
Wes
11:19 PM
lol, yw :B
@PaulCrovella no idea :\
 
@Wes uuuhm … yea… pointers to nodes maybe? the doubly linked list is basically a prev and next pointer, that's all…
 

« first day (2024 days earlier)      last day (2918 days later) »