8,966 Posted Topics

Member Avatar for dietdew12z

[url]http://stackoverflow.com/questions/5444207/using-arrays-without-putting-the-key-in-quotes[/url] It is correct PHP to use quotes, although it works without. This can lead to errors, should you have a const defined with that name for example. [code] $row = array ('user' => 'foo', 'myusername' => 'bar'); define('user', 'myusername'); echo $row[user]; echo $row['user']; [/code] So, my guess it it …

Member Avatar for dietdew12z
0
149
Member Avatar for aldm
Member Avatar for Gabums

I'm wondering. I can't see a javascript reference to menu. Is class="menu" only used for css? If so, you could work around it i think.

Member Avatar for ccwtrainer
0
87
Member Avatar for chalasesha
Member Avatar for edith135
0
105
Member Avatar for Venom Rush

[code]INSERT INTO table (field) VALUES (value) ON DUPLICATE KEY UPDATE field=value[/code] You need to specify keys to get this to work. See the mysql docs for more info. It is quite powerful and fast.

Member Avatar for nuraini
0
10K
Member Avatar for reborn2010

[CODE] if (preg_match('/<!-- Begin Code -->(.*?)<!-- End Code -->/s', $subject)) { # Successful match } else { # Match attempt failed } [/CODE]

Member Avatar for reborn2010
0
182
Member Avatar for hssonline
Member Avatar for tomato.pgn
0
82
Member Avatar for pritaeas

We are switching to Scrum at work. Although we get help starting this up and get training for it, I'm looking for some good books on the subject. Please do not post just a title, but also an explanation as to why I should read it.

Member Avatar for pritaeas
0
147
Member Avatar for antikceo

Download the page into a string and [URL="http://php.net/preg_match"]grep[/URL] what you need.

Member Avatar for tinymark
0
89
Member Avatar for Planetdune

[QUOTE=Planetdune;1466231]Sooo I was trying this: ShellExecute(Handle, nil, PChar(dir\myprogram.exe'), PChar(dir\dir\myfile.upx'), nil, SW_SHOWNORMAL); This does not work however :( It seems to be just opening "myprogram.exe" without loading "myfile.upx"...[/QUOTE] If this does not work, that means that myprogram.exe is not equipped to open files specified on the command line. Maybe you can …

Member Avatar for dlhale
0
151
Member Avatar for ApocDen
Member Avatar for raf11

Your rss reader should provide this (Internet Explorer does this), but not all do (Opera doesn't).

Member Avatar for raf11
0
175
Member Avatar for RaptorMarketing
Member Avatar for RaptorMarketing
0
154
Member Avatar for jacob21
Member Avatar for BobPawley

This may help: [url]http://www.codeguru.com/forum/showthread.php?threadid=507198[/url]

Member Avatar for pritaeas
0
213
Member Avatar for ajuv_001

Start with writing smaller queries that solve part of the problem. Later on try to combine them to get a more complex result. If you have specific questions, post your query/queries and trouble/error here.

Member Avatar for ajuv_001
0
111
Member Avatar for ReaperUser101

Just put it in a function/procedure and call it. Define it like this: [CODE] interface TForm1 = class(TForm) private procedure RepetitiveTask; end; implementation procedure TForm1.RepetitiveTask; begin // ... end; [/CODE]

Member Avatar for ReaperUser101
0
90
Member Avatar for sungod000

From the timezone point of view I'd agree. Since you don't have a programming background, how do you know your not being charged double of what the workload is worth ? You have to consider cultural differences, international/local law, perhaps even export restrictions. Don't take this too lightly.

Member Avatar for sungod000
0
233
Member Avatar for LizAE

[URL="http://www.alistapart.com/d/randomizer/rotate.txt"]Link[/URL] works just fine here.

Member Avatar for LizAE
0
155
Member Avatar for ReaperUser101

Set [iCODE]StrictDelimiter[/iCODE] to [iCODE]True[/iCODE] to disable the space delimiter.

Member Avatar for ReaperUser101
0
220
Member Avatar for pokuripavani

I wouldn't call vBulletin a mini-project, but hey. First make a plan, containing your required features. Coding comes later.

Member Avatar for Ezzaral
0
127
Member Avatar for jacob21
Member Avatar for cyph3r

They're just div's. What do you have so far ? Is the problem with some query or with the display of the query's output ?

Member Avatar for pritaeas
0
51
Member Avatar for Dani

If I click on 'Web Development' main menu item, then I get redirected to 'Community Center'

Member Avatar for ~s.o.s~
0
214
Member Avatar for coolest_987

A Word document is a binary format, and would need a parser to read it. You could use the Word XML format and parse it using SimpleXML or the likes.

Member Avatar for pritaeas
0
374
Member Avatar for coolest_987
Member Avatar for baig772

Wamp and probably [URL="http://www.apachefriends.org/en/faq-xampp-linux.html#oci8"]Xampp[/URL] can have the OCI8 extension. Check if it is enabled. More documentation is [URL="http://php.net/manual/en/book.oci8.php"]here[/URL].

Member Avatar for Stefano Mtangoo
0
86
Member Avatar for jrhitokiri

Are you sure that it can find the txt file (did you try a full path for that too) ? PHP's current path can be different than the one on your console.

Member Avatar for jrhitokiri
0
2K
Member Avatar for drewpark88

Yes, I think you just need to sum the returned array. AFAIK the [URL="http://code.google.com/apis/analytics/docs/gdata/home.html"]Google Data Export API[/URL] does not have requests for totals. I recommend you look at these docs, so you know what is available for you.

Member Avatar for pritaeas
0
108
Member Avatar for Portgas D. Ace

Quoted from cscgal: "... Members earn points for interacting with the website by logging in, posting, updating their profile, uploading an avatar, etc. It's just a fun little statistic for member profiles that shows the participation level in the community, outside of posting."

Member Avatar for jonsca
1
80
Member Avatar for vegaseat
Member Avatar for Morten Brendefu

Passing a variable like that is the right way. Not sure why you have the sender in the parameter list, unless it is a default event. Some more information on the structure of your code may shed some light on the situation.

Member Avatar for Morten Brendefu
0
202
Member Avatar for Nfurman

Check the ID as xylude states. ASP.NET changes them when you run you're page. You're better off using a class.

Member Avatar for pritaeas
0
132
Member Avatar for gravexxx

It depends a bit on what you want to do with the results. If you want to show them all, you could use multiple TWebBrowser's and let each one get a page.

Member Avatar for Wolfgan
0
161
Member Avatar for anirban1087

If you have a timestamp column in your table, then you can do the following, just before your insert (or as part of your insert query, or as an insert trigger): [code=text] SELECT CONCAT( DATE_FORMAT(NOW(), '%b/%Y/'), ( SELECT 1 + COUNT(*) FROM bills WHERE YEAR(`timestamp`) = YEAR(NOW()) AND MONTH(`timestamp`) = …

Member Avatar for anirban1087
0
95
Member Avatar for abhi10kumar

Something like [URL="http://www.pritaeas.net/demos/jq-dropdown/"]this example[/URL]? You can take the ajax code from the page if you need it.

Member Avatar for happytogether
0
202
Member Avatar for Layerphp
Member Avatar for Emeryl

Perhaps short code tags are disabled, so you need to use [iCODE]<?php[/iCODE] instead of [iCODE]<?[/iCODE]

Member Avatar for Emeryl
0
100
Member Avatar for kurakar
Member Avatar for pritaeas
0
232
Member Avatar for wonder_laptop
Member Avatar for jon.kiparsky
0
262
Member Avatar for brianjoe

You want to develop something like ShoutCast, or internet radio ? Then you'll need a streaming audio server.

Member Avatar for pritaeas
0
108
Member Avatar for ReaperUser101

What kind of database are you using ? An SQL file is not a database, you need to run it on one.

Member Avatar for pritaeas
0
248
Member Avatar for ClanTag

The only thing I can think of is that you can use Format() instead of FormatFloat() if you want to align your 'Amount' values correctly.

Member Avatar for pritaeas
0
159
Member Avatar for ganeshrnet

Please read [URL="http://www.daniweb.com/forums/thread191031.html"]this thread[/URL]. Most likely there is an error in your sql statement.

Member Avatar for pritaeas
0
254
Member Avatar for ptara1

That code will fail. But it will not affect your queries if they specify the database names. So you can use it to select one of them, or just remove the line entirely. Just a sample query: [code=sql] SELECT * FROM database1.table1 t1, database2.table2 t2 WHERE t1.id = t2.id [/code]

Member Avatar for pritaeas
0
118
Member Avatar for drewpark88

This is an sql issue. Mysql dates are in the format yyyy-mm-dd. Another method would be to use the mysql now() function, which represents the current date. Also DELETE * FROM is invalid. [CODE]$sql = "DELETE FROM cms_table WHERE delete_date >= NOW()";[/CODE]

Member Avatar for drewpark88
0
1K
Member Avatar for Planetdune

These kind of settings are specific CreateParams of a window, so only if your target application provides some API to change it. Otherwise you can't.

Member Avatar for drjoeblack
0
108
Member Avatar for waveydaveywaves

I think there is a flaw using [iCODE]isset($_GET['id'])[/iCODE]. It is always set, because it is part of the form. I think you need to replace it with something like [iCODE]$_GET['id'] > 0[/iCODE]

Member Avatar for waveydaveywaves
0
445
Member Avatar for Phil++

In that section you have to add your own ip address. In the connection code you just use the ip address of your server.

Member Avatar for pritaeas
0
85
Member Avatar for jacob21

If there is no API, then how are we able to help you ? At least specify which one you are using, or the website.

Member Avatar for pritaeas
0
96

The End.