8,966 Posted Topics

Member Avatar for asghar123

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

Member Avatar for pritaeas
0
126
Member Avatar for qwertpink

That means your server database is different. Most likely you have data in your `member` table locally, but not on the server.

Member Avatar for qwertpink
0
613
Member Avatar for mightysnake
Member Avatar for pritaeas
0
128
Member Avatar for daniel36
Member Avatar for rahulroshan

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

Member Avatar for pritaeas
0
84
Member Avatar for vijaykavin10

What are you trying to open ? Apparently it can not open what you provide. Provide some code.

Member Avatar for rotten69
0
82
Member Avatar for Simon180

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]

Member Avatar for pritaeas
0
135
Member Avatar for hendroang
Member Avatar for swissknife007

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

Member Avatar for diafol
0
345
Member Avatar for dc013
Member Avatar for welkam
Member Avatar for swissknife007
Member Avatar for rotten69
0
415
Member Avatar for rahulroshan

[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]

Member Avatar for pritaeas
0
97
Member Avatar for tnguru
Member Avatar for swissknife007

You cannot send email with XAMPP using mail(), unless you have a mail server installed. Please search this forum for solutions using PHPMailer.

Member Avatar for pro_learner
0
257
Member Avatar for shailu.thakre

You are trying to connect to something with a wrong user or password. Try to be more specific.

Member Avatar for pro_learner
0
87
Member Avatar for aaloo

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.

Member Avatar for diafol
0
3K
Member Avatar for kdogg556

Instead of just dumping your code, it's much more helpful to state what you are trying to build, and where you got stuck.

Member Avatar for qazplm114477
0
178
Member Avatar for accra

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.

Member Avatar for reco21
0
392
Member Avatar for klemme

If you want to do this after an insert, see the manual on [URL="http://dev.mysql.com/doc/refman/5.6/en/triggers.html"]TRIGGERS[/URL], otherwise see [URL="http://dev.mysql.com/doc/refman/5.6/en/events-overview.html"]EVENTS[/URL].

Member Avatar for klemme
0
341
Member Avatar for oades11

Am sure he wants to politely ask if his name can be removed (at the top, in the folder name).

Member Avatar for Nick Evan
0
56
Member Avatar for swissknife007

What have you tried that is not working ? [url]http://expertester.wordpress.com/2010/07/07/how-to-send-email-from-xampp-php/[/url]

Member Avatar for pritaeas
0
227
Member Avatar for labise

[CODE] echo "<a href='product.php?id={$objResult['id']}'>{$objResult['product_name']}</a>"; [/CODE]

Member Avatar for pritaeas
0
215
Member Avatar for vijaykavin10
Member Avatar for RMelnikas

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

Member Avatar for rotten69
0
164
Member Avatar for ddellostritto

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 …

Member Avatar for pritaeas
0
201
Member Avatar for webmaster@123

It doesn't matter where it is, as long as it is good unique content, and well presented.

Member Avatar for sarthaki
0
137
Member Avatar for karthik_ppts

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

Member Avatar for karthik_ppts
0
123
Member Avatar for tgr0ss83

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

Member Avatar for cereal
0
4K
Member Avatar for pritaeas

Updated top 20 list of languages (by usage): [url]http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html[/url]

1
340
Member Avatar for aaloo

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

Member Avatar for pritaeas
0
192
Member Avatar for cambraydesign

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]

Member Avatar for pritaeas
0
150
Member Avatar for solomon_13000
Member Avatar for harsha.netpem
Member Avatar for Fest3er
0
749
Member Avatar for Jashandeep

[url]http://codex.wordpress.org/Using_Themes[/url] [url]http://docs.joomla.org/Installing_a_template[/url]

Member Avatar for DustinG
0
115
Member Avatar for daniel36

[url]http://www.daniweb.com/community-center/daniweb-community-feedback/threads/389034[/url]

Member Avatar for Ezzaral
0
90
Member Avatar for shamsidah
Member Avatar for HITMANOF44th
0
89
Member Avatar for klemme

[CODE] $value = $_GET['billeder']; if (is_numeric($value)) { include("includes/billeder.php"); } [/CODE]

Member Avatar for HITMANOF44th
0
118
Member Avatar for shailu.thakre
Member Avatar for srdva59

You may want to read this [URL="http://stackoverflow.com/questions/7574194/pantone-color-picker"]SO thread[/URL] on the subject.

Member Avatar for pritaeas
0
52
Member Avatar for whiteyoh

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.

Member Avatar for pritaeas
0
62
Member Avatar for Swiftle

My $0.02: [url]http://www.regular-expressions.info/[/url] Am a happy user of RegExBuddy (paid).

Member Avatar for pritaeas
0
132
Member Avatar for stanley87
Member Avatar for nikki05
Member Avatar for pritaeas
0
154
Member Avatar for crapped

Delphi includes RegularExpressions with which you can do this, but am not sure from which version. For earlier version TPerlRegex is available (3rd party).

Member Avatar for pritaeas
0
151
Member Avatar for AceStryker

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.

Member Avatar for Morten Brendefu
0
217
Member Avatar for sidd.

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 …

Member Avatar for Ezzaral
0
168
Member Avatar for KamranArshad

Could be this action is out-growing your memory limit. For such large files, I think you're better off with plUpload.

Member Avatar for pritaeas
0
171
Member Avatar for Morten Brendefu

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 …

Member Avatar for pritaeas
0
284
Member Avatar for daniel36
Member Avatar for s0bigg
0
444

The End.