8,966 Posted Topics

Member Avatar for fhau013

Your query is invalid. It needs to be: WHERE column1 LIKE '%something%' AND column2 LIKE '%something%'

Member Avatar for fhau013
0
133
Member Avatar for logicslab
Member Avatar for HunainHafeez

> is it so ? No, it is not. If your application is well-designed you'll probably use all of those features.

Member Avatar for JorgeM
0
117
Member Avatar for wasik
Member Avatar for Sockoiid
Member Avatar for klemme

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.

Member Avatar for pritaeas
0
5K
Member Avatar for mmcdonald
Member Avatar for gahhon

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.

Member Avatar for pritaeas
0
69
Member Avatar for daniel.conlinjr.1

HTML is a markup language, and does not include commands. So yes, you'll have to use Javascript.

Member Avatar for Nmalik1
0
3K
Member Avatar for best4earn
Member Avatar for Labdabeta
Member Avatar for daniel.conlinjr.1

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.

Member Avatar for JorgeM
0
355
Member Avatar for Dani

> 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...

Member Avatar for seblake
0
1K
Member Avatar for joshmac

> 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?

Member Avatar for joshmac
0
1,000
Member Avatar for mmcdonald
Member Avatar for blueguy777
Member Avatar for castajiz_2

No. A comment system needs some kind of storage on the server, so some scripting is required.

Member Avatar for JorgeM
0
71
Member Avatar for PerplexedB
Member Avatar for pritaeas
0
155
Member Avatar for blueguy777

SELECT cust_id, cust_name, GROUP_CONCAT(installment_amt) FROM slabpay WHERE agent_id = 1 GROUP BY cust_id

Member Avatar for diafol
0
159
Member Avatar for Paul_17

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 …

Member Avatar for Paul_17
0
2K
Member Avatar for rpv_sen

Like this perhaps? http://www.daniweb.com/web-development/php/code/460663/article-tagging-example

Member Avatar for dom246
0
306
Member Avatar for vishal_WebDev

First run: mysqlcheck --all-databases -uroot -p If there are errors run: mysql -uroot -p database-name REPAIR TABLE table-with-error;

Member Avatar for vishal_WebDev
0
133
Member Avatar for tibor.marias
Member Avatar for Kishore Patra
Member Avatar for geniusvishal

http://www.daniweb.com/community-center/geeks-lounge/threads/51491/member-titlesranks#post239343

Member Avatar for pritaeas
0
83
Member Avatar for Violet_82
Member Avatar for khakilang

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).

Member Avatar for Ancient Dragon
0
211
Member Avatar for MWEB

> 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?

Member Avatar for MWEB
0
640
Member Avatar for Samuel Baker
Member Avatar for siddharth_3

> how can i insert this data into database? What (scripting) language are you using on the server?

Member Avatar for bradly.spicer
0
337
Member Avatar for mmcdonald

> 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 …

Member Avatar for mmcdonald
0
174
Member Avatar for davy_yg

http://office.microsoft.com/en-us/microsoft-sharepoint-collaboration-software-FX103479517.aspx

Member Avatar for Stuugie
0
153
Member Avatar for mmcdonald

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.

Member Avatar for mmcdonald
0
311
Member Avatar for chris evans
Member Avatar for Josh Connerty
0
302
Member Avatar for cmhampton

> This is the returned XML from the webservice So the problem is in parsing the result?

Member Avatar for cmhampton
0
1K
Member Avatar for happygeek
Member Avatar for Siberian
Member Avatar for Siberian
0
199
Member Avatar for NitsPatel
Member Avatar for HDRG

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.

Member Avatar for pritaeas
0
173
Member Avatar for renierdbruyn

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.

Member Avatar for renierdbruyn
0
151
Member Avatar for pritaeas

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 …

Member Avatar for pritaeas
1
332
Member Avatar for Priti_P
Member Avatar for durgesh1
Member Avatar for pritaeas
0
93
Member Avatar for andreiviziru

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.

Member Avatar for paulkd
0
1K
Member Avatar for Steviebone

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 …

Member Avatar for pritaeas
0
342
Member Avatar for ibrahimilen
Member Avatar for muhammad.sadaqat.3192
Member Avatar for muzique18

> 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 …

Member Avatar for broj1
0
323
Member Avatar for lewashby

If you omit the `value=""` attribute "Submit Query" is the default value.

Member Avatar for lewashby
0
94
Member Avatar for gahhon

If youget that message, then most likely line 3 failed to create a new object. Perhaps because the connection string is missing or invalid.

Member Avatar for gahhon
0
163

The End.