8,966 Posted Topics
Re: [CODE] CREATE USER("jeffrey"@"localhost", IDENTIFIED BY "mypass"); [/CODE] Is the problem. You cannot just use a mysql query in php and expect it to work. That line should be removed. You have to execute it in your mysql console, or phpmyadmin, or whatever you prefer to use. | |
Re: That means your server database is different. Most likely you have data in your `member` table locally, but not on the server. | |
Re: Check if your (absolute/relative) folders are correct in the output. | |
Re: [CODE] $query = "SELECT COUNT(name) [B]AS name_count[/B] FROM ji where name='rahul' and age='23' "; [/CODE] With [iCODE]AS[/iCODE] you can give any column a new name, making it easier to get to them. | |
Re: What are you trying to open ? Apparently it can not open what you provide. Provide some code. | |
Re: It would be something like: [CODE] var li: TListItem; begin li := ListView1.FindCaption(0, 'Simon', False, True, False); while li <> nil do begin li.Delete; li := ListView1.FindCaption(0, 'Simon', False, True, False); end; end; [/CODE] | |
Re: Show your errors/problems too. We don't like to guess... | |
Re: You can use AddAddress multiple times. Most other basic features can be found in [URL="http://www.askapache.com/php/phpfreaks-eric-rosebrocks-phpmailer-tutorial.html"]this tutorial[/URL]. ![]() | |
Re: What exactly do you need help with ? Everything you need to do is described. | |
| |
Re: [url]http://www.daniweb.com/web-development/php/threads/399648[/url] | |
Re: [url]http://dev.mysql.com/doc/refman/5.5/en/insert-select.html[/url] [code] INSERT INTO newtable (field1, field2) SELECT field1, field2 FROM oldtable WHERE flag = '1' [/code] | |
Re: [url]http://php.net/manual/en/function.number-format.php[/url] | |
Re: You cannot send email with XAMPP using mail(), unless you have a mail server installed. Please search this forum for solutions using PHPMailer. | |
Re: You are trying to connect to something with a wrong user or password. Try to be more specific. | |
Re: I guess you have a blog table. You'll need another table for keywords and another one to link blogs to keywords. If you have those, I can give you a query that will match blog entries based on keywords. ![]() | |
![]() | Re: Instead of just dumping your code, it's much more helpful to state what you are trying to build, and where you got stuck. |
Re: You forgot to add what part is not working well. It appears this is not the complete code, as there is no [iCODE]mysql_connect[/iCODE] in this snippet. | |
Re: Am sure he wants to politely ask if his name can be removed (at the top, in the folder name). | |
Re: What have you tried that is not working ? [url]http://expertester.wordpress.com/2010/07/07/how-to-send-email-from-xampp-php/[/url] | |
Re: [CODE] echo "<a href='product.php?id={$objResult['id']}'>{$objResult['product_name']}</a>"; [/CODE] | |
Re: [url]http://www.itwebexperts.com/oscommerce_zencart_xcart_comparison.php[/url] Try to find the one that best matches your requirements, instead of choosing the "best" and perhaps finding out later it does not do what you want. | |
Re: Agree with ardav here, you'll have to log anything that can fail. Personally, I like log4php since you can set logging levels, without having to touch the code. Logging to file is in my opinion better then to database, since the database connection could fail too. Basically any code that … | |
Re: It doesn't matter where it is, as long as it is good unique content, and well presented. | |
Re: Do you want to build your own, or do you want to use [URL="http://www.google.com/cse/"]Google Custom Search[/URL] (looks like this is what DW is using) ? | |
Re: Am not sure if it is possible in your situation, but if your CSV URL supports [iCODE]fseek[/iCODE], you could theoretically parse the CSV line by line ([iCODE]fgets[/iCODE]), you just have to remember at what position you are ([iCODE]ftell[/iCODE]). | |
Updated top 20 list of languages (by usage): [url]http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html[/url] | |
Re: "mysql_real_escape_string() calls MySQL's library function mysql_real_escape_string, which [B]prepends backslashes[/B] to the following characters: \x00, \n, \r, \, ', " and \x1a." Do you want them removed ? Just replace them with [iCODE]str_replace[/iCODE]. | |
Re: You can inspect the code with your browser. I suggest you write a better one, because this one doesn't work on Opera. Basically it just slides from one div to the next. I bet there are many tutorials to find for this. Perhaps this will help: [url]http://railspikes.com/2007/5/14/slider-js-a-javascript-slider-component[/url] | |
Re: What is the reason for having two product tables ? | |
Re: Although hard to read, it appears that buyer_query needs a space before the AND. | |
Re: [url]http://codex.wordpress.org/Using_Themes[/url] [url]http://docs.joomla.org/Installing_a_template[/url] | |
Re: [url]http://www.daniweb.com/community-center/daniweb-community-feedback/threads/389034[/url] | |
Re: [CODE] $value = $_GET['billeder']; if (is_numeric($value)) { include("includes/billeder.php"); } [/CODE] | |
Re: You may want to read this [URL="http://stackoverflow.com/questions/7574194/pantone-color-picker"]SO thread[/URL] on the subject. | |
Re: You can try to set the same header in your code to an empty string, but if it is added later by the mail server, then it will have no effect. | |
Re: My $0.02: [url]http://www.regular-expressions.info/[/url] Am a happy user of RegExBuddy (paid). | |
Re: You can use a foreach, an iterator, or array_walk. | |
Re: It should be in your web root folder, usually htdocs on a regular Apache installation. | |
Re: Delphi includes RegularExpressions with which you can do this, but am not sure from which version. For earlier version TPerlRegex is available (3rd party). | |
Re: Am not sure you can. You can create a keyboard hook, but so do the loggers. I don't think you can say for sure which of the apps receives the keystate first. | |
Re: If it is inserting a blank, then the error is most likely in your javascript, sending a blank value. Put an [iCODE]alert[/iCODE] after line 8, to determine the value of [iCODE]brand[/iCODE], so you know it is set correctly, before using it in your request. (Maybe because [iCODE]var[/iCODE] is missing before … | |
Re: Could be this action is out-growing your memory limit. For such large files, I think you're better off with plUpload. | |
Re: If both types have a common ancestor (assuming they are objects), then yes, it is possible. Can you post your type definition? (Or perhaps it is some Delphi type I've never used before?) With Delphi 9, do you mean 2009 ? If so, you can use [URL="http://www.felix-colibri.com/papers/oop_components/delphi_generics_tutorial/delphi_generics_tutorial.html"]generics[/URL]. Btw, I'm collecting … | |
Re: You can make a script that does that in PHP, and use a scheduler to run it on a daily basis. |
The End.