- Strength to Increase Rep
- +10
- Strength to Decrease Rep
- -2
- Upvotes Received
- 198
- Posts with Upvotes
- 161
- Upvoting Members
- 104
- Downvotes Received
- 9
- Posts with Downvotes
- 9
- Downvoting Members
- 6
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: 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. | |
Re: 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 … | |
Re: 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 … | |
Re: 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?) | |
Re: you are looking for the javascript function `window.open` (or, in your case, `top.window.open("https://www.yahoo.com")` or whatever....) | |
Re: 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: … | |
Re: 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 … | |
Re: 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; | |
Re: 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 … | |
Re: couldnt you just do a grep/find (notepad++) on "function fnName(" Am I oversimplifying something? | |
Re: .... 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). | |
Re: 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 … | |
Re: 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 … | |
Re: 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. | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: 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'] … | |
Re: 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 … | |
Re: 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 … | |
Re: 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. | |
Re: 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? | |
Re: 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 … |