1,038 Posted Topics

Member Avatar for igeek

There are many MVCs around so first off I'd suggest you take a look at those since they've had years of development and large teams behind them (Zend Framework, Code Igniter, Symfony, Cake, etc.) Though, obviously, the large, more feature-rich the framework the slower it will be (ie., Code Igniter …

Member Avatar for ShawnCplus
0
75
Member Avatar for 123468743867143

Where is the code for your loop that is actually printing out the links? It's not in any of the code you've posted.

Member Avatar for 123468743867143
0
381
Member Avatar for veledrom

The black stripe is magnetic, as far as I know PHP can't charge magnets. There are however quite a few libraries to create barcodes. Google for a "PHP Barcode class"

Member Avatar for ShawnCplus
0
27
Member Avatar for tanha

No but you can do it the other way around. [url]www.php.net/Java[/url]

Member Avatar for digital-ether
0
87
Member Avatar for tuse

There seems to be an interesting and undocumented precedence taking place with the concatenation operator. It seems [code=php]echo $num . ++$num;[/code] prints out 66. Whereas [code=php]echo $num , ++$num;[/code] prints out 56

Member Avatar for ShawnCplus
0
61
Member Avatar for duhasteme

I'm pretty sure [icode]emsg[/icode] is not a standard attribute for input tags, if emsg is from a Javascript library you might want to look into that as the culprit. The input field itself has no properties other than that [icode]emsg[/icode] field that could cause anything to "reset"

Member Avatar for ShawnCplus
0
69
Member Avatar for jackakos

Just in case you hadn't fixed it yet, [icode](\d{2}\-){2}\d{4}[/icode] is the correct regular expression. for 12-34-5678 format. To correctly write a regular expression you have to know exactly what your input must look like. If you post what you want in your fields it would be easier.

Member Avatar for jackakos
0
198
Member Avatar for vssp

Symfony redirects are done with [icode]$action->forward('module', 'action');[/icode] OR [icode]$action->redirect('<route>');[/icode]. I'm not exactly sure what you're trying to accomplish.

Member Avatar for ShawnCplus
0
141
Member Avatar for Gonzo10

What do you want the variable [icode]$value[/icode] to be because right now its nothing, all you would get would be [code=html]<a href="=1">Data: 1</a> ...[/code]

Member Avatar for Gonzo10
0
90
Member Avatar for Morty222

[code=php] $_SESSION['cart'][] = array('team'=> $teamID,'tournament'=>$tournyID,'gatefee'=>$gatefee,'cost' => $cost); [/code] Note the code tags!

Member Avatar for ShawnCplus
0
173
Member Avatar for #include<DAN.h>

printf is your best bet for a cout alternative. It is from the cstdlib library (for C++, stdlib.h for C)

Member Avatar for Duoas
0
5K
Member Avatar for ignus_reef

I am not sure which solutions you tried but if this was not one of them it usually is the fix. There should be a fn key on your keyboard, hold that and repeatedly press the up arrow. Hope that helps, sorry if it doesn't.

Member Avatar for Silkey
0
237
Member Avatar for jokumoku
Member Avatar for evanlarsen

There aren't any Javascript animation studios because there are so many quirks between the different browsers they'd be doing N times more work, where N is the number of current browsers. Believe it or not people still use IE5.5 and if you're going to do business you have to support …

Member Avatar for evanlarsen
0
112
Member Avatar for woocha

The GIMP can do this pretty well. Though I usually just make my own in GIMP, I've never tried to convert jpg over. You could try to just open it with GIMP then do a save as... then use .ico, it should bring up a dialog asking which type of …

Member Avatar for svalen
0
304
Member Avatar for TGMaverick

If you have no programming experience why does your final project, most likely the purpose of which is to show off accumulated knowledge, involve programming?

Member Avatar for Dizdain
0
150
Member Avatar for cwarn23

My biggest recommendation would be to use a prebuilt syntax highlighter and just add a syntax extension. [url=http://qbnz.com/highlighter/]GeSHi[/url] is one my my favorites.

Member Avatar for cwarn23
0
80
Member Avatar for Mylena
Member Avatar for lonestar23
Member Avatar for lonestar23
0
111
Member Avatar for rati

Why are you creating the query with $q but then using $campaign? A doctrine update should look like [code=php] Doctrine_Query::create()->update('Table')->set('field','bound_value')->where('id = ?',$bound_id)->execute()[/code]

Member Avatar for ShawnCplus
0
59
Member Avatar for Venom Rush

Well in the database you would store the page name/page ID as well as the actual page in a largetext or memo field. When the page is requested by name/ID you would simply pull it from the database and display it, ie., [inlinecode]<a href="page?id=25018">Read more...</a>[/inlinecode]

Member Avatar for masala_curry
0
1K
Member Avatar for vincan
Member Avatar for TechExpressInc

It's most likely from google toolbar showing them fields they can autocomplete. It's not your site, go yell at your client.

Member Avatar for ShawnCplus
0
60
Member Avatar for babyfrostie
Member Avatar for meksikatsi

You can follow janines advice which would be the sure bet or if your cheap do what "Thong_inspector" said and buy a new desktop keyboard if your notebook has a ps/2 port.

Member Avatar for meksikatsi
0
286
Member Avatar for atplerry

[LIST=1] [*]Step 1: Use Code tags [*]Step 2: Read the rules [*]Step 3: Show effort [/LIST] I don't believe you've done any of those things.

Member Avatar for newbiecoderguy
0
583
Member Avatar for architact
Member Avatar for computerages

People are throwing around the word AJAX as if it is synonymous with DHTML. [code=javascript] var container = document.getElementById('the_form_container'); var newfield = document.createElement('input'); newfield.type = 'text'; newfield.id = someCounter+'_suffix'; container.appendChild(newfield);[/code] ^ Not AJAX

Member Avatar for langsor
0
449
Member Avatar for odysseous

... [code=php]$parsed_string = preg_replace(array('#\[\[#', '#\]\]#'),'',$whatever_string);[/code]

Member Avatar for ShawnCplus
0
71
Member Avatar for nzaman

[QUOTE=nzaman;660247]Create a script that usesa while statement that increments through and prints every even number between 1 and 49. Can any one do that for me?!?[/QUOTE] No, in case you missed the signs, rules, signatures and giant bold text everywhere, we don't do your homework for you.

Member Avatar for veledrom
-1
70
Member Avatar for mahaguru

[url]http://us3.php.net/manual/en/language.oop5.decon.php[/url] Unless you have created a constructor that overrides the parent constructor it will use the inherited method

Member Avatar for digital-ether
0
85
Member Avatar for ShawnCplus

As many of you that have worked with VB.NET know, and have been irritated by, you can't use a nonconstant variable to size an array. A simple workaround, reply if this is a problem, is to take input on the size of the array (Yes, I know you can't do …

Member Avatar for leveena
1
139
Member Avatar for Alexandre Lark

Well, the short answer is No, the long answer is to force them to enable javascript for your page.

Member Avatar for somedude3488
0
300
Member Avatar for clhari

You do realize that even if you did find out a way to do this that users could just disable javascript then take a screenshot(or do anything else that javascript is 'protecting') then re-enable javascript, right?

Member Avatar for Troy III
0
1K
Member Avatar for Snipes

Refer to [url]http://www.daniweb.com/forums/post637921.html#post637921[/url]

Member Avatar for ShawnCplus
0
50
Member Avatar for R0bb0b

Its possible but I wouldn't recommend it. If, down the line, you want to add an actually .js file you'd have to either A) change the file extension or B) add another handler. The quickest way to do this is have all your Javascript in a PHP file then at …

Member Avatar for R0bb0b
0
116
Member Avatar for edmicman

[QUOTE=AceofSpades19;637227]I think what you are loooking for is something like Ruby on Rails[/QUOTE] Ruby on Rails isn't exactly Enterprise level, it has horrible scalability. PHP has been argued to be enterprise level, and Java is supposedly an enterprise level language ( JSP ). Really, its all up to you, there's …

Member Avatar for sarehu
0
219
Member Avatar for mustafaneguib

The function is called [icode]nl2br[/icode] That will turn all newlines into HTML linebreaks. Example: [code=php] $Input = "Testing This is on a new line"; echo nl2br($Input);[/code] Output [code]Testing<br /> This is on a new line[/code]

Member Avatar for nav33n
0
160
Member Avatar for emit_flesti

It doesn't work because script tags can never be short-tags i.e., <tagname />, they must be explicitly closed i.e., <tagname></tagname>

Member Avatar for emit_flesti
0
95
Member Avatar for tiger86

Chances are if you know about the exploit then the developers of TikiWiki know about it and have already patched it in a newer version. Just update.

Member Avatar for ShawnCplus
0
52
Member Avatar for JeffBot

Apache 2.2.6 over IIS any day in my book but I also prefer Linux. If you're currently running IIS I'm assuming you are more familiar with windows. Also remember that Apache is free

Member Avatar for ShawnCplus
0
66
Member Avatar for praveen_dusari

You could just use a cookie rather than a session variable, that would allow it to be accessible no matter what language you're using.

Member Avatar for ShawnCplus
0
56
Member Avatar for pakoppan

Well the error is generated when you try to get an element that doesn't exist so the simple question is, does the element with the ID "content" exist on the page before you make that call?

Member Avatar for pakoppan
0
126
Member Avatar for Venom Rush

Its done with hidden iframes. [url]http://www.adapa.si/products/lib/javascript/upload-with-iframe.aspx[/url] Thats just one example but Googling 'iframe upload' will find umpteen examples.

Member Avatar for nav33n
0
104
Member Avatar for chickenlord500

Firstly, remember that those are absolutely links meaning if that page goes anywhere besides your machine those images are broken. Secondly, to maintain cross-browser compatibility [icode]onClick[/icode] should be [icode]onclick[/icode]. Finally, you don't actually have any Javascript there for us to debug ( When you post the code please use code …

Member Avatar for ShawnCplus
0
106
Member Avatar for unixmonkey

Actually that's accomplished quite easily with a little Apache voodoo known as ModRewrite. Lets say you are using the fake directory [icode]app[/icode] [code=htaccess] RewriteEngine On RewriteRule ^app/(.*)/?$ /index.php?app=$1 [/code] Place that in the .htaccess file and it will be completely transparent to the user.

Member Avatar for ShawnCplus
0
286
Member Avatar for servis

I'm not quite sure what you want to accomplish, and I'm also note sure what the word intiame means, Google doesn't either. You can send as many request parameters as you like given the HTML protocol

Member Avatar for R0bb0b
0
112
Member Avatar for harinatt
Member Avatar for boomar

Any additional arguments you pass the Java() call will be interpreted as arguments. [code=php]$obj = new Java("someObject", "arg1");[/code]

Member Avatar for ShawnCplus
0
45
Member Avatar for samarudge

You can use something called a variable variable(yeah, I know it's weird) [code=php] $variable="name"; $$variable = "Shawn"; echo $name; // prints Shawn [/code]

Member Avatar for samarudge
0
100

The End.