Posts
 
Reputation
Joined
Last Seen
Ranked #197
Strength to Increase Rep
+10
Strength to Decrease Rep
-2
96% Quality Score
Upvotes Received
198
Posts with Upvotes
161
Upvoting Members
104
Downvotes Received
9
Posts with Downvotes
9
Downvoting Members
6
26 Commented Posts
11 Endorsements
Ranked #154
Ranked #190
~291.76K People Reached
Favorite Tags
Member Avatar for Jaklins

So.. sorry to rez a 10 month old post, especially as my first post... but here goes... I dont think that using sessions the way you are is the best method... instead, you should declare in your SQL DB what security level, or what options, the user will have, based …

Member Avatar for Bharath_6
0
12K
Member Avatar for davy_yg

The best way I had machine learning explained to me was similar to this: Lets say you want a computer to identify a color. Lets take "Red", or 255, 0, 0 (or some threshold of). (NOTE: Of course, what you would write is an algorithm that looks at color and …

Member Avatar for Reverend Jim
0
514
Member Avatar for SimonIoa

Your where clause always have to result in a boolean to check equivalency. For example "where 1 = 1". From reading this, it does not look like the case has a match, and therefore it is in error. Ex: 1 = case u.foo when t.foo then 1 else 0 end …

Member Avatar for Viki_1
0
5K
Member Avatar for Dani

Well.. here's my 2ยข 1: Old threads (like.. some are 3+ years old!) being commented on. They need to be locked. A lot of the comments are outdated, spam, or often times not even on point with the rest of the thread. (Granted, this hasn't happened super recently, but there …

Member Avatar for happygeek
2
6K
Member Avatar for SimonIoa

You cannot change a column name on the fly like this. You're better off making another column and calling it type and flagging it to know what "type" it is.

Member Avatar for SimonIoa
0
2K
Member Avatar for LegateLucius
Member Avatar for Jara_1

So.. the problem is your question is very vague. Instead, I will walk you through how to find your answer on your own and hopefully that will help you. First, you need to understand the basics of how HTML/Form Data work. You can find that here: https://www.w3schools.com/htmL/html_forms.asp --Alternatively, if you …

Member Avatar for ryantroop
0
433
Member Avatar for Andrew_52

You are going to need to learn about AJAX, some server side language to format your JSON to output to the AJAX request, and of course - SQL to write the query that the server side language will process/execute. A very common free stack is called a LAMP stack, which …

Member Avatar for ryantroop
0
581
Member Avatar for Robert_79

What is your methodology that gets the count of all items? (ie, how are you determining you only need 3 pages of 25 a piece?)

Member Avatar for alan.davies
0
452
Member Avatar for durgeshmandal

you are looking for the javascript function `window.open` (or, in your case, `top.window.open("https://www.yahoo.com")` or whatever....)

Member Avatar for ryantroop
0
184
Member Avatar for navjot_2

The only "secret" to JS-Less toggles is an input type="checkbox" and use a label to toggle the checkbox's state from there, you use your css "+" and :checked pseudo selector to modify your visual state ex: .myWrapperElement .input[type="checkbox"] { height: 0; width: 0; overflow: hidden; padding: 0; margin: 0; opacity: …

Member Avatar for John_202
0
623
Member Avatar for Sdark

I'm always confused by questions like this... You studied this field. You know your stuff.. build something important to you - with EE you can do SOOOO much.. Take something that you are interested in or something that a family member or friend could benefit from. The quality of what …

Member Avatar for rproffitt
0
349
Member Avatar for Khairul_1
Member Avatar for Otto_1

tcol1 = 0 tcol1[mm] = col1 + amt You can't set a member of 0 to a value. You are essentially saying 0[mm] = col1 + amt;

Member Avatar for ryantroop
0
1K
Member Avatar for Jun_7

So.. I didn't pop this in a fiddle or anything due to laziness... however, I believe I found your problem: so, you're pulling ALL ROOMS (and appropriate meta data) where the room ID is not in a single instance of reservation.room_id (in most cases, this will be NULL and will …

Member Avatar for ryantroop
0
547
Member Avatar for Dani

couldnt you just do a grep/find (notepad++) on "function fnName(" Am I oversimplifying something?

Member Avatar for pty
0
413
Member Avatar for Nurul_3

.... are you asking what you should reasearch or just some random title? I mean... no offense here... but you have a problem (you need a title generated). Solve it (write a title generator).

Member Avatar for happygeek
0
695
Member Avatar for Dani

You obviously put a lot of thought into this. Personally, I am either not experienced or creative enough to figure out how to exploit the system you created. I get that DW is one giant "example" service using your platform. Lets take it a step further. I want to make …

Member Avatar for Dani
0
2K
Member Avatar for janicemurby

So.. first, did you write this? Are you aware of what "$$" variables do? ( for those who don't, they make a (scoped?) variable with the "VALUE" as the variable NAME; eg. $a = "hello"; $$a = "world"; You now have $a = "hello" and $hello = "world"; ) I …

Member Avatar for alan.davies
0
3K
Member Avatar for hamzamuradkhanh

for PHP and PDF, I have used http://www.fpdf.org/ in the past (pretty sparse and straight forward but gets the job done well). From that, I found [this](https://stackoverflow.com/questions/1004478/read-pdf-files-with-php) post on SO which suggested using https://www.setasign.com/products/fpdi/about Which seems to solve your problem.

Member Avatar for hamzamuradkhanh
0
499
Member Avatar for Adm666

That, sir, is a fantastic question. My assumption is that the inline cast to a `char *` is somehow mangling the memory space on the stack, or the assumption of the pointer starts at a negative index to account for the pointer itself... no idea :-/ That being said.. why …

Member Avatar for Ren C
0
426
Member Avatar for kennyL

Your local MySQL configuration has port 33061 open? No firewall blocking the connection? I also doubted the need for the \PDOException but I havent used PDO in quite a while now... that said, the only way you are likely gonna solve this at this point is to echo/vardump after each …

Member Avatar for kennyL
0
588
Member Avatar for emilio_3

I would encourage you to fill a buffer with the user's password first, then display it - and in that local buffer you can do a strcmp. Just my preferred way of solving your problem. Otherwise... you have uncompleted code here.. not sure what part of it you need help …

Member Avatar for ryantroop
0
578
Member Avatar for elamigosam

without seeing the output on line 67 it's hard to say, but my assumption is that you are geting an output like... insert into foo (a,b,c) values (1,2,3,1,2,3,1,2,3,12,3) -- kinda suprised this doesn't throw an error... when instead I believe you want something more like insert into foo (a,b,c) values …

Member Avatar for elamigosam
0
360
Member Avatar for janicemurby

at some point, you are using a loop. The variable $i is being assigned a value, and at some point that value is 6. if $i = 6 AND 6 + 5 is 11 ---- it appears your problem is that you are trying to access a member of $list['photoID'] …

Member Avatar for ryantroop
0
3K
Member Avatar for Stefce

You can also buy an sms gateway device, or just a phone that allows AT commands. From there it costs however much your local carrier charges per month for access to their network. Alternatively, every phone number is an email address to their respective carrier. Ex: 555555555@tmomail.net will send an …

Member Avatar for ryantroop
1
703
Member Avatar for davy_yg

So fusion charts requires their data in a specific format. You can choose to parse that data (as they have), or you can write a conversion script to output the format they expect from the data you have. You gotta do some of this on your own. I get fusionCharts …

Member Avatar for ryantroop
0
409
Member Avatar for davy_yg

When dealing with fusion charts, I encourage you to just go striaght to their fiddles. http://jsfiddle.net/s7t8F/5379/ I made that with a color change to one column. You likely forgot the comma.

Member Avatar for ryantroop
0
476
Member Avatar for rproffitt

Is this a MS issue or just developers being lazy and not putting their toys away? (or both) How many of those handles may have been ghosts that are just doing nothing? How many were socket connections that were active instead of using select or IOCPs?

Member Avatar for ryantroop
0
703
Member Avatar for davy_yg

Javascript (JS) is a top down JIT. Which means if the DOM element exists before the JS gets called, it will be available for use. In example 1, your function declaration and call happen before "demo" is available on the DOM (in the body element, however you want to think …

Member Avatar for ryantroop
0
459