8,966 Posted Topics

Member Avatar for chaitu11

Start with [this](http://www.daniweb.com/web-development/php/code/301728/complex-random-password-generator) and make adjustments where needed.

Member Avatar for pritaeas
0
54
Member Avatar for rincewynd
Member Avatar for mbarandao

preg_match('/(\d{3}-\d{3}-\d{4}|\d{5})(.*)/s', $subject) But this is flawed. Can't you just take the last line?

Member Avatar for mbarandao
0
819
Member Avatar for davy_yg

You cannot access any properties after you have `unset` your object.

Member Avatar for cereal
0
349
Member Avatar for happygeek

*She came to me one morning, one lonely Sunday morning Her long hair flowing in the mid-winter wind* Uriah Heep - Lady in Black

Member Avatar for happygeek
0
271
Member Avatar for martinmax3
Member Avatar for martinmax3
0
2K
Member Avatar for mavtcr
Member Avatar for pritaeas
0
297
Member Avatar for Zagga
Member Avatar for mattster

> Would it be worth refreshing the images to a clean and modern look to encorage members to display their badge? Good idea, have the badge match the new layout again.

Member Avatar for JorgeM
3
186
Member Avatar for tony.grate
Member Avatar for pritaeas

See attached image. If I hover over the last reply link, then the link shows as post/jump/0. Opening the thread, doesn't show a reply. Also, I see two questions "member badges" in this forum by mattster, but I can only open one, the other opens the OOPS page. ![84f513b12d70b72ce9fabdd5e585c4d3](/attachments/large/0/84f513b12d70b72ce9fabdd5e585c4d3.jpg "84f513b12d70b72ce9fabdd5e585c4d3")

Member Avatar for Ancient Dragon
0
197
Member Avatar for haymen.roth.3

Is `OverTime` a varchar column? If so, you need to cast it to a type that can be summed.

Member Avatar for pritaeas
0
2K
Member Avatar for wesh_1
Member Avatar for questionboy

Possible, yes. My flow would use AJAX most likely. You can use it to trigger the search, and a second to keep fetching results. In the background you can run a script that would store it's results in a database. The second AJAX call would call a script to query …

Member Avatar for questionboy
0
222
Member Avatar for grafic.web
Member Avatar for JorgeM
0
168
Member Avatar for shekher07

You'll need to be a little more specific about what you are trying to achieve.

Member Avatar for pritaeas
0
34
Member Avatar for arjun.godara.549
Member Avatar for sigitas.darguzas
Member Avatar for Josh Connerty

CodeIgniter, Cake, Zend, Symphony, Laravel. Check this forum, there are some discussion on this topic. Search for framework.

Member Avatar for Josh Connerty
0
316
Member Avatar for chaitu11
Member Avatar for eddstyson

> Ok first thing's first don't use else else in php and in other programming languages there is no double else. I think you missed a bracket ;) His construct is valid, although hard to read because of the lack of indentation.

Member Avatar for eddstyson
0
192
Member Avatar for Maurice_3

You can't. Editing your post is allowed for 30 minutes. Deleting isn't allowed at all, unless the post violates one of our forum rules. Minor edits can be requested by using "Flag Bad Post" to request a moderator's attention.

Member Avatar for stultuske
0
224
Member Avatar for fxynot

Welcome to DaniWeb. > i am looking to advertise my website Be sure to read [our rules](http://www.daniweb.com/community/rules) first, so you'll know where to advertise, and more importantly, where not.

Member Avatar for JorgeM
0
31
Member Avatar for Chair

Missing return on line 9. Next time start a new discussion thread, instead of replying to an existing one.

Member Avatar for pritaeas
1
9K
Member Avatar for xile27
Member Avatar for jdm

Remove: where mg.GenCode='Action' or mg.GenCode='Adven' Add: having find_in_set('Action', group_concat(DISTINCT g.GenCode)) and find_in_set('Adven', group_concat(DISTINCT g.GenCode)) This will get you started I think. Not sure if it's correct since you didn't show your table structures/data. Some tweaking may be necessary.

Member Avatar for jdm
0
318
Member Avatar for gatis_1
Member Avatar for kamaran

Closed. Continue [here](http://www.daniweb.com/business-exchange/jobs-and-resumes/jobs/472406/asp.net-or-vb.net-developer)

Member Avatar for pritaeas
0
301
Member Avatar for CreatorZeus

An RSS feed is nothing more than an XML file. What exactly is the problem you're having? You can retrieve the data as usual, and then create a feed by applying a template.

Member Avatar for JorgeM
0
298
Member Avatar for davy_yg

Session start should be before **ANY** output, so before the `<!doctype>` tag.

Member Avatar for Borzoi
0
199
Member Avatar for hariprasad1411
Member Avatar for hariprasad1411
0
297
Member Avatar for darne_1

> does there exist any way to find out what query is made to the database It is logged in the mysql query log, **IF** it has been enabled.

Member Avatar for pritaeas
0
215
Member Avatar for davy_yg

http://www.php.net/manual/en/language.types.string.php#language.types.string.syntax.double A backslash in a double quoted string must be escaped.

Member Avatar for SimonIoa
0
366
Member Avatar for rgkrish183
Member Avatar for jacob21
Member Avatar for scudzilla
0
173
Member Avatar for Ketsuekiame

I also see 0 in the C# forum list. Looks like it was deleted twice, thus affecting the reply count :D

Member Avatar for Ketsuekiame
0
306
Member Avatar for rakibtg

$data = "i love funny movies \n i like daniweb dot com \n i like rock song"; $data = explode("\n", $data); $data2 = array (); foreach ($data as $item) { $data2[] = explode(" ", $item); } print_r($data2);

Member Avatar for pritaeas
0
2K
Member Avatar for RainaAnja
Member Avatar for kannan mangalar

http://net.tutsplus.com/tutorials/javascript-ajax/using-node-js-and-websockets-to-build-a-chat-service/

Member Avatar for pritaeas
0
165
Member Avatar for johndohmen1963
Member Avatar for johndohmen1963
0
174
Member Avatar for ryan.c.ramsdell

> I did at lines 28-34 Only if there is a row returned. If no records are returned from your query, your variables are undefined.

Member Avatar for pritaeas
0
154
Member Avatar for rgkrish183

They're not in the right order: ps=con.prepareStatement("update employees set EmployeeName=?, Nationality=? where Employee_id=?"); ps.setString(1, EmployeeName); ps.setString(2, Nationality); ps.setInt(3, Employee_id);

Member Avatar for rgkrish183
0
324
Member Avatar for stich

> Who wrote the first C compiler and how got it compiled? [Here](http://cm.bell-labs.com/cm/cs/who/dmr/primevalC.html)'s some history.

Member Avatar for pritaeas
0
212
Member Avatar for Pravesh_1
Member Avatar for kuldeepsheoran

<input type="text" name="donum" value=" <?php echo $b; ?> " /> The above adds unnecessary spaces to your input. Try: <input type="text" name="donum" value="<?php echo $b; ?>" />

Member Avatar for pritaeas
0
2K
Member Avatar for saba_3
Member Avatar for Andrew_9
Member Avatar for davy_yg

A theme is usually nothing more than a folder containing a stylesheet with additional resources, such as icons. What you need to store is the name of the theme's folder, and use that to add that stylesheet to your pages.

Member Avatar for pritaeas
0
113
Member Avatar for hariprasad1411
Re: api

What kind of API do you want to build? A good tool to help you build a REST API is [Restler](http://luracast.com/products/restler).

Member Avatar for pritaeas
0
131
Member Avatar for davy_yg

The End.