8,966 Posted Topics
| |
Re: Perhaps the password always has a value by default ? | |
Re: You can see my example in action [here](http://www.pritaeas.net/demos/jq-dropdown/index.php). Only the PHP code for retrieving the data is not visible, but am sure that is not an issue. | |
Re: http://docs.oracle.com/cd/E12151_01/doc.150/e12155/oracle_mysql_compared.htm See paragraph 2.2.2 | |
Re: 1. Depends on your choice of 2. For example, if you build a SOAP service, then you can import the WSDL and use functions. Any other method, you can use Indy or Overbyte. 2. You can use a REST or SOAP service, or just simple scripts. XML is the preferred … | |
Re: Not sure if it fits your needs, but [Birt](http://www.eclipse.org/birt/phoenix/) is a free one. | |
Re: Instead of doing a query, you could add a unique key over those columns. It will have the same effect: the insert will fail, returning `false`. | |
Re: I personally like [log4php](http://logging.apache.org/log4php/) | |
Re: > mysql_query("INSERT INTO komentar (nama, email, komentar)VALUES ($newnama, $newemail, $newcomments)"); Should be: mysql_query("INSERT INTO komentar (nama, email, komentar) VALUES ('$newnama', '$newemail', '$newcomments')"); | |
Re: Are all paths correct ? To jQuery, and the plugins ? | |
Re: Well, today in Opera 11.64 I discovered that when text is selected and then clicking the editor, the pasting appears stuck in a loop (pasting 63 quotes). | |
Re: [url]http://en.wikipedia.org/wiki/Point_in_polygon[/url] | |
Re: The server where the database is needs to allow remote connections. Your router/firewall needs to allow the website host to connect/reroute. Then you can open the database server by ip address or hostname on the host. Check first with your web host, to see that there are no limitations that … | |
![]() | Re: How about this: var el = document.getElementById(id_image); var state = ''; if (el != null) state = el.src; ![]() |
Re: I agree that the code you show is confusing. It would have made sense to start at zero. The problem this code has is that it wants to use `currentPhoto` for the `eq()` function (which is one-based). | |
![]() | Re: http://wiki.phpmyadmin.net/pma/Upgrading Basically: 1 - backup, 2 - copy new source files, 3 - restore config |
Re: > :variable Definitely preferred (or ?), because it indicates that you are using [bound parameters](http://php.net/manual/en/mysqli-stmt.bind-param.php). That drastically decreases the change of an SQL injection. The other three rely on variable insertion, which need decent validation before using them. | |
Re: You would need to use backreferences, so you can specify the individual characters, like so: result = subject.replace(/([a-z|0-9])(,)/ig, "$1~"); `$1` points to the char (between the first set of parenthesis), `$2` points to the comma. | |
Re: > SELECT * FROM noticias WHERE data Shouldn't that be `date` ? ![]() | |
Re: I think `file($send)` is not returning anything, hence the error (it is apparently not an array). It's quite possible you're not allowed to do that. If you are on a shared host, `file()` is often blocked. You may need to switch to `cUrl`. | |
Re: It's probably a normalization. Can you please provide some additional info, like a link to the tutorial you mentioned. | |
Re: I doubt this is a viable option, since every CMS is using different codes/markers for specifying output within the template. It would mean writing a lot of IF's within the template (assuming that is supported) to get some code working for a specific CMS. I suggest you start with a … | |
Re: Here's a start: http://www.daniweb.com/software-development/pascal-and-delphi/threads/359971/using-ole-automation-of-excel-2010-with-delphi-2010 | |
Was just searching, had 'pagination' in 'PHP forum'. Got plenty of results back, but when I added the filter to show only 'discussion threads', there were no results at all. | |
Re: `$banned` has no value, I think you mean to use `$row['banned']` ![]() | |
![]() | Re: From what I can see, the PHP is just not returning any data. Perhaps you have defined an infinite loop somewhere. Anyway, guessing will be difficult without code. ![]() |
Re: Like this? <!DOCTYPE html> <html> <head> <style type="text/css"> table, tr { border: 0 } td.mid, td.top { border-bottom: 1px solid #000 } td.mid, td.bottom { border-top: 1px solid #000 } td.middle, td.left { border-right: 1px solid #000 } td.middle, td.right { border-left: 1px solid #000 } </style> </head> <body> <table … | |
Re: You should be able to post a message to the browser window's handle. Read more on [MSDN](http://msdn.microsoft.com/en-us/library/windows/desktop/ms632665(v=vs.85).aspx). | |
Re: I don't know anything about Magento, but wouldn't the Magento forums be a more suitable place to ask such questions? Am quite positive there are more people experiencing a similar issue. | |
Re: You would need to learn a scripting language. You'd need to learn how to use the Facebook API, parse JSON or XML and do database actions. | |
Re: The visited link is set according to your browser's history. You can either use it, or give it a new color using CSS. If you want different coloring depending on last accessed, then you need to do some coding and tracking. | |
Re: You may want to take a look at [these examples](http://matthewjamestaylor.com/blog/perfect-multi-column-liquid-layouts). | |
Re: > How do you do it for sub domain? Looks like you just need to change `$email_domain` | |
Re: http://www.daniweb.com/business-exchange/show-off-your-projects/threads/427092/online-chat-room | |
Re: Instead of looping through all results and then picking a random one, you can let MySQL do the job: SELECT * FROM table ORDER BY RAND() LIMIT 1 | |
Re: http://support.microsoft.com/kb/306586 | |
Re: > other than self hosting can be cheaper Don't underestimate the costs of running your own server. Hardware, infrastructure, software licenses, upgrading and updating... All take a lot of your (costly) time. A good host will have a lot of precautions already in place, because they can not afford to … | |
Re: You can try this code instead, then you don't need to remove the last OR: $where = array (); foreach ($fields as $field) { if (isset($_GET[$field]) and !empty($_GET[$field])) { $where[] = $field . " LIKE '%" . $_GET[$field] . "%' "; } } $whereClause = ' WHERE ' . implode(' … | |
The `ReplaceStrings` function replaces all strings in `APatterns` found in `ASubject` with the value in `AReplacement`. As an example, I added the `RemoveStrings` function which replaces everthing with an empty string, thus deleting all strings found. Usage examples are in the XMLDoc comments. A good test will be to rewrite … | |
Re: There's [NuSoap](http://sourceforge.net/projects/nusoap/) and for REST services I can recommend [Restler](http://luracast.com/products/restler/) | |
Re: How about tools like mockingbird (web based), pencil sketching (FF addon), balsamiq (desktop) or ForeUI (desktop/browser) ? | |
| |
Re: Are you having problems? If so, please explain the issue. | |
Re: > $sql = "SELECT * FROM entryform WHERE id = id "; This is not right. I think this should be: $id = isset($_GET['id']) ? $_GET['id'] : 0; $sql = "SELECT * FROM entryform WHERE id = $id "; | |
Re: This forum has a lot of examples in it already. Search for "paging" or "pagination". | |
Re: > All the queries I fired gave inaccurate count values. Show your queries. |
The End.