8,966 Posted Topics
Re: I think url expect a string. `$("#planbook_planmate")` returns an object. | |
Re: > Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given This warning indicates that your query has failed. Replace line 6 with: $result = mysql_query($sql) or die(mysql_error()); Now you should see why it fails. You can post the error back here. As for the undefined index notice, you can … | |
Re: If you mean reducing your result set by further adding new filters, maybe Navicat will work. It's paid, but has a trial version available. Filtering columns is well implemented, you can just right click a column and add a filter or sort. | |
Re: You need to use the `<script>` tag for Javascript. | |
Re: There may be tools to do this, but you can also grep all your files and extract the lines containing the `function` keyword. | |
| |
Re: Here's an [SO thread](http://stackoverflow.com/questions/24/throw-an-error-in-mysql-trigger/7189396#7189396) with an example of how to use signal (if available in your version of MySql). | |
Re: My personal opinion would be to test against a second database. Before testing restore it, test your code, check the changes. | |
Re: I find dirList 0.3.0 very useful. I don't know if it has search capability, but the code is pretty straightforward, perhaps you can add the search to it. | |
Re: Started around 1984 I guess when I was 11. Was able to buy an Acorn Atom with a whopping 16K of memory. Quite enough for learning assembly back then. | |
Re: This will get you started: http://www.daniweb.com/web-development/php/threads/340937/how-to-make-4-by-4-table ![]() | |
Re: > CURLOPT_FOLLOWLOCATION, 0 When this setting is off, and your login page redirects, your curl call will stop. Try setting this to `1` | |
Re: It's kind of strange that you would have no permissions to view an image folder, unless the permissions are revoked. In my opinion a htaccess file does not address this issue. Can you open any file you uploaded in the web root? | |
![]() | Re: http://dev.mysql.com/doc/refman/5.0/en/faqs-stored-procs.html#qandaitem-B-4-1-14 So, it is possible, but I am unsure that your query is correct. I think your query should look something like: SELECT a.title, IF( SELECT 1 FROM node a,taxonomy_index b, taxonomy_term_data c WHERE .... = 1, 'Y', 'N' ) AS YesNo FROM a |
Re: Looks like you are trying to use a varchar value in an `IN` clause. Make sure those values are surrounded by single quotes. | |
Re: To get rid of the notice, you can use code like this: $file = isset($_FILES['fileupload']) ? $_FILES['fileupload']['tmp_name'] : false; | |
Re: Yes. Search this forum. This has been discussed a lot of times. IIRC the ssl port is 995, but not 100% sure. | |
Re: Can you please explain what you mean by that ? I suggest you start [here](http://php.net/manual/en/tutorial.php) | |
![]() | Re: I would love to see an overhaul of functions and parameters. Please let them ditch the procedural (sql) functions too. No, not deprecated, I want to see them removed. Let's make everything a class: session, files, get and post superglobals are excellent candidates. ![]() |
Re: Image to comment is a one-to-many relationship, so a separate table is recommended. | |
Re: Gently pressing the Run shortcut increases the changes of it actually running. Btw, I have the DAS keyboard too, excellent choice IMO. | |
Re: http://www.daniweb.com/web-development/php/threads/422991/problem-in-smtp | |
Re: Note, that some hosting providers do not allow foreign key relation. Check with their support to make sure. | |
Re: [Here](http://delphi.about.com/cs/adptips1999/a/bltip1099_5.htm) is a sample to get you started. | |
Re: var result = isValid(a); result = isValid(b) && result; return isValid(c) && result; | |
Re: The domain name part is case insensitive, but the part before the @ depends on the receiving host. In most cases it is case insensitive too. | |
Re: You may want to add some more details or code. Do you want to check this after submitting your form? | |
Re: QWERTY, sometimes AZERTY, and even less often my [one-handed keyboard](http://www.frogpad.com/), although mine is older than shown. | |
Re: A framework contains a lot of code, ready for use, making application development easier (or it should). Most are written in an object oriented style, to allow for easy re-use and extension. Main benefit of a framework is that you do not have to write everything yourself and take advantage … | |
Re: http://raphaeljs.com/reference.html#Paper.path | |
| |
Re: See the example [here](http://www.php.net/manual/en/mysqli.prepare.php). You need to fetch the result, before you close the statement. | |
Re: Echo the query before it runs, to see what it contains. Then you can run it against your database and see what happens. ![]() | |
Re: Show your table structure too. If I would do this, I'd use an auto ID column, a gender field (F/M) and an integer column. You can generate your id by using the last two fields combined. | |
Re: You may want to have a look at this [link](http://www.jameswiseman.com/blog/2010/04/19/creating-a-jquery-custom-selector/) | |
Re: Maybe because you did not save your changes... | |
Re: The alert only shows a message, you cannot check it's value. Use a separate variable to store true/false to return as the function result. | |
Re: Add a default timezone in your php.ini file, and the warning goes away. | |
Re: If you search this forum, you'll see a lot of threads on uploading, storing info in a database. | |
Re: What exactly do you want ? Anything that is not available [here](http://www.asp.net/downloads) ? | |
Re: Line 10 checks `$var1`, but it is not given any value. Perhaps you wanted to check `$var` ? | |
Re: When you are updating code, clean up around the change. With every change you make, the code will get cleaner. Add some sensible comments where needed, fix the identation, adjust variables names, whatever you can improve. | |
Re: Your insert statement is missing the password in the values part. | |
Re: http://www.packtpub.com/zend-framework-18-web-application-development/book | |
![]() | Re: Looks like you forgot to add the delimiter. Your preg should look something like this (note the percent sign): preg_match('%\s(https?://www.youtube(?:-nocookie)?.com/(?:v|embed)/([a-zA-Z0-9-]+))%i', $subject); ![]() |
Re: `(` and `)` are special characters, you need to escape them with a backslash. |
The End.