8,966 Posted Topics
Re: Your query is invalid. It needs to be: WHERE column1 LIKE '%something%' AND column2 LIKE '%something%' | |
Re: What have you tried so far? | |
Re: > is it so ? No, it is not. If your application is well-designed you'll probably use all of those features. | |
Re: Am wondering, why you are using SimpleXML if you do nothing with it? You can achieve the above with a file_get_contents. If you use xpath to get the value of body you shouldn't have to replace all the cdata tags. | |
Re: Why would you use real escape AND bound parameters? | |
Re: In most cases you can just format the number in that way AFTER you have retrieved it with a query from the database. DO NOT store it in this format. | |
Re: HTML is a markup language, and does not include commands. So yes, you'll have to use Javascript. | |
Re: PHP runs server-side, before rendering the output to the browser. Javascript runs client-side, in the browser. You cannot just add PHP code to a Javascript event like that. | |
Re: > it’s all pretty much correct bar the fact that you say I don’t exist? Make us believe it then ;) Plans to move to Embarcadero, help out DavidI ? They can really use your help... | |
Re: > Look closely why is there a extra comma on line 13? That comma is part of a string. > Base table or view not found: 1146 Table 'et_error' doesn't exist Where is this table used? | |
| |
| |
Re: No. A comment system needs some kind of storage on the server, so some scripting is required. | |
Re: $pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); | |
Re: SELECT cust_id, cust_name, GROUP_CONCAT(installment_amt) FROM slabpay WHERE agent_id = 1 GROUP BY cust_id ![]() | |
Re: 1. You can use `header()`, but you can't output the message then or you'll get a warning. 2. If you have a unique index on those columns, the insert will fail and you can catch that. If that's not what you want, do a select query first to see if … | |
Re: Like this perhaps? http://www.daniweb.com/web-development/php/code/460663/article-tagging-example | |
Re: First run: mysqlcheck --all-databases -uroot -p If there are errors run: mysql -uroot -p database-name REPAIR TABLE table-with-error; | |
Re: > all jquery function http://api.jquery.com | |
Re: http://www.daniweb.com/community-center/geeks-lounge/threads/51491/member-titlesranks#post239343 | |
Re: I have so far not had any issues with Win8, although I work primarily on the desktop. On the other hand, I like the simplicity of the apps I do use (mail, calendar). | |
Re: > it does not work What does not work? What is supposed to happen, but doesn't? Be more specific. Are you sure that login like this is not blocked? | |
Re: > how can i insert this data into database? What (scripting) language are you using on the server? | |
Re: > if I use $userid as an argument in lots of methods (50+) then is there a viable method of using a 'globalish' variable to set the argument? Set it as a property. If the whole class is about the user, then this is valid practice. Not sure how your … | |
Re: http://office.microsoft.com/en-us/microsoft-sharepoint-collaboration-software-FX103479517.aspx | |
Re: Looks like you're missing a `mysqli_fetch_assoc()`. The `query` method should `return $this->_result` and on line 38 the fetch should be used. | |
Re: Don't you have a wrapper div with a specific class you can use? | |
Re: > This is the returned XML from the webservice So the problem is in parsing the result? | |
Re: 403 is forbidden. Are you trying to redirect to a protected folder? | |
Re: UPDATE table1 t1 SET id = (SELECT id FROM table2 t2 WHERE t2.name = t1.name) Id in Table1 must not be an auto increment column, and if it's a PK or UX it should be temporarily disabled. | |
Re: Is `applicant_id` your key? If so, try removing it from the UPDATE part. If `job_id` doesn't change either, you can remove that from the UPDATE too. | |
I'm working on an ORM experiment, and I'm looking for ideas to help choose which path to take in it's development. I currently have an index showing how to use it, two interfaces, a database class, a table base class and two auto-generated classes (representing a database table). The first … | |
Re: Are you sure you are referring to the right path? The slash before user directs it to the root of your server. Perhaps it should be `./user/`, which finds the user folder in the current directory. | |
Re: The only thing I can think of that would explain this, is that right after the send your functions returns. This means client2 is out of scope and will be discarded. It's possible IE knows a request is running and waits, while FF immediately destroys the object, even before the … | |
Re: > What i really want is, if I uploaded the first csv file, and edit some data on the same file, it will UPDATE the MySQL data. But if there's a new entry it will ofcourse add. How would you recognize the difference between a new entry and an existing … | |
Re: If you omit the `value=""` attribute "Submit Query" is the default value. | |
Re: If youget that message, then most likely line 3 failed to create a new object. Perhaps because the connection string is missing or invalid. |
The End.