« first day (2939 days earlier)
← previous day
next day →
last day (1379 days later) »
Andy K
07:08
morning
Tomm
07:37
Morning
I turned 20 yday and it was quite a weird birthday
weird times right now
Andy K
@Tomm happ birthday mate! many happy returns. Ah well, you will have more joyful ones, rest assured about that.
Tomm
Thanks bud!
1 hour later…
ARr0w
08:43
morning
Andy K
@ARr0w hey
ARr0w
what's up man
Andy K
@ARr0w looking for a new mission. ongoing. Hopefully, I will find something interesting
ARr0w
09:26
yeah. lets be positive about that
Andy K
@ARr0w got calls but some of the missions are just plain weird.
hey @Veljko89
Omer Hijazi
10:19
Hi
anyone here
ummm
hello?
Andy K
@OmerHijazi yes
Omer Hijazi
ok
so
is it possible to get one cell from mysql by using multiple where selectors?
Tomm
you mean 1 result or ?
Omer Hijazi
e.g.
SELECT ID FROM table WHERE (IName="blab", Desc="foo", Prjn="bar", URL="baz")
Tomm
if you know this much already why not just select the id?
Andy K
10:23
can you please close the bracket?
Omer Hijazi
oops wrong thing just a min
SELECT ID FROM table WHERE (Name="blab", Desc="foo", Prjn="bar", URL="baz")
Andy K
@OmerHijazi do you mean a
OR
instead of separating the value with commas?
Omer Hijazi
yup (i dont know a lot)
i need id but there are no columns of which I'm sure their rows are different
Tomm
but if you know what your looking for, why do you need the id?
Omer Hijazi
@Tomm As I need to use it for other purposes
Tomm
10:26
but what im trying to say, is there are maybe different ways of achieving what you are trying to achieve
as this doesnt seem like a good practise
end of the day for what do you need the id
cause if your having to look for an id like this, either ur db might not have been setup that great, or your missing some structure
Omer Hijazi
the users will supply info
and i need id to echo in php so users know the submission number
so is it possible?
Tomm
so someone sends info, and based on that info you want to look for the id they created to give it back to them?
Omer Hijazi
:\ yup
Tomm
well why not use a return then?
for every post you make, the server sends back a return
Omer Hijazi
wuts that :0
Tomm
10:31
how do i explain this
i assume ur new to php?
Omer Hijazi
nope
i know quite well enought to make dynamic pages
ooh btw to understand what i want to do see this
technopedia.tekcities.com/tritchie/uploadw.php remember to enter 2 names only in person name and desc proect name anything and url beginning with
drive.google.com
with https :// also
try uploading see what happens
Tomm
i dont want to go to an external source sorry
i know what you mean
but how you are trying to achieve this is bad practise
i just dont know how to explain it to you
Omer Hijazi
@Tomm nvm
@Tomm any resources?
wait do you mean that on uploading the server will select from mysql and return?
hello?
Tomm
what im trying to say
@OmerHijazi i have a job i cant respond every 2 seconds
Omer Hijazi
oh ok
Tomm
10:41
if you send a post, the server sends you a request back with what you have send
which includes the id that has been created
which you can read
Omer Hijazi
ohhhh ok i understood
thanks :))
« first day (2939 days earlier)
← previous day
next day →
last day (1379 days later) »
all rooms
Transcript for
Jun
3
Jun '20
4
Jun
5
SQL
Got a SQL question? Any SQL flavor here, just ask. Indicate yo...
db2
mysql
oracle
postgresql
rubberduck
sql
sql-server
tsql
join this room
about this room
00:00
06:00
12:00
18:00
all times are UTC
site design / logo © 2024 Stack Exchange Inc;
legal
mobile