8,966 Posted Topics

Member Avatar for JamesCherrill

If you are using a regex, then the question mark is a special character, escape it with a backslash.

Member Avatar for masijade
1
237
Member Avatar for aspertrace
Member Avatar for aspertrace
0
218
Member Avatar for turpentyne

> You need to organize the data in your PHP code after you fetch it Not necessarily. If the query is grouped on continent and continent_region, then you can use `GROUP_CONCAT` to concatenate the states.

Member Avatar for diafol
0
176
Member Avatar for Tunnleram
Member Avatar for adil.ghori
Member Avatar for pritaeas
0
402
Member Avatar for snadboy6371

Have a look at the logfiles. maybe you can find the reason in there. If wamp is unable to start one of the services, it will appear hanging.

Member Avatar for veedeoo
0
245
Member Avatar for sharma.chiragfaith

No matter what I enter, I get: `syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING` so I'd say it's secure enough... ;)

Member Avatar for cereal
0
218
Member Avatar for Ankur_tces

That means you are trying to insert more data into a column than it can hold. Check your input against the column size. SQL Server does not truncate, but raises an exception.

Member Avatar for pritaeas
0
324
Member Avatar for GlenRogers

> if I leave link and link trext blank I get errors. What errors? Apart from that, your construct with three nested foreach loops is weird. You know you have 8 fields, why not use a single for loop?

Member Avatar for pritaeas
0
149
Member Avatar for ravinder yadav
Member Avatar for davy_yg
Member Avatar for Suzie999

Another reason was that I was about the only one who was actually using the feature at all.

Member Avatar for Suzie999
0
281
Member Avatar for sree jith

It's called AJAX. Check out [this code snippet](http://www.daniweb.com/web-development/php/code/437655/getting-products-details-from-categories-subcategories-with-ajax-call-).

Member Avatar for diafol
0
354
Member Avatar for mpc123

Perhaps some JOIN can do that. If you use GROUP_CONCAT on both fields in table 2 it may be possible. I'll need to know more about the table structures. How are both tables linked? Only by the comma separated column? Another option is to build a specific REPLACE.

Member Avatar for mpc123
0
216
Member Avatar for sanbhu2105

You'll need to select one of the prod_id in your query. You can't use it if it's not in the result.

Member Avatar for sanbhu2105
0
678
Member Avatar for Kewne

If your code starts with a character, it is considered a string and needs single quotes around it.

Member Avatar for Kewne
0
176
Member Avatar for pawan768
Member Avatar for pritaeas
0
269
Member Avatar for tekagami

Just a tip: your regex does not work on TLD's larger than three characters (.info, .museum)

Member Avatar for LastMitch
1
373
Member Avatar for somjit{}

Regex 1 checks for any number of a's followed by a c. Regex 2 does the same, but expects the a to start at the beginning of the line, which won't match any substring.

Member Avatar for pritaeas
0
163
Member Avatar for PriteshP23
Member Avatar for pravaut
Member Avatar for diafol
0
344
Member Avatar for anil14353
Member Avatar for Shikha_1
Member Avatar for pzuurveen
0
133
Member Avatar for strongpot

> When i echo it i get nothing and no email is received. Your `do .. while` loop continues until it returns `false`. So, after the loop the `$row_Recordset1` contains `false`, and no longer an array with columns and values.

Member Avatar for strongpot
0
278
Member Avatar for diafol
Member Avatar for diafol
0
230
Member Avatar for nacedo
Member Avatar for Violet_82
Member Avatar for Violet_82
0
301
Member Avatar for mpc123

It may be easier to help if you show some data, and your expected output.

Member Avatar for pritaeas
0
144
Member Avatar for rje7
Member Avatar for babzwaw
Member Avatar for Thermalnuke

Not sure about all runtimes, but I think most are updated through Windows updates.

Member Avatar for Thermalnuke
0
165
Member Avatar for New-Reign

> From what I've read creating a connection within a class is bad? Not necessarily. I would just pass a MySQLi or PDO object as a parameter to the class' constructor, and store it in a private variable.

Member Avatar for pritaeas
0
158
Member Avatar for games1124u

> this is not working What is not working? What did you expect? What was the outcome?

Member Avatar for pritaeas
0
389
Member Avatar for RGStrat

The brute force way is to create all strings from all combinations of your array, and test them against the larger word.

Member Avatar for diafol
0
175
Member Avatar for code_rum
Member Avatar for PriteshP23

Try: $node = $item->xpath('//Characteristic'); if ($node->CharacteristicName == 'Tilt') echo $node->CharacteristicValue;

Member Avatar for PriteshP23
0
2K
Member Avatar for hrrh
Re: Hi

We can only help if you show more information, code, error messages, etc.

Member Avatar for crescendo
-2
90
Member Avatar for mpc123
Member Avatar for LegateLucius

You may want to be a little more specific. What do you expect? What is happening? What is the problem?

Member Avatar for stbuchok
0
213
Member Avatar for Ritesh_4

Something like [Balsamiq mockups](http://www.balsamiq.com/products/mockups) for example.

Member Avatar for mikespencer
0
316
Member Avatar for carmen100
Member Avatar for bangar
Member Avatar for bangar
0
179
Member Avatar for davidkroj

> i don't know how we can install http://codex.wordpress.org/Installing_WordPress

Member Avatar for RH-Calvin
0
143
Member Avatar for GeekPlease

From what I've read, it can only run on .NET 2.0 with a hack. LINQBridge could be helpful, but am not sure if that's what you want.

Member Avatar for GeekPlease
0
288
Member Avatar for rosalyncaraig

> give me some codes that used in php Language What exactly are you looking for?

Member Avatar for almostbob
-1
96
Member Avatar for Rob Alice
Member Avatar for nit8899
Member Avatar for OsaMasw

If you execute this query in phpMyAdmin, do you get an error? I think it should be: INTERVAL 1 MINUTES

Member Avatar for OsaMasw
0
301
Member Avatar for jemartalaban_1

> it is possible that one column in a row has a data Can you explain what you mean?

Member Avatar for pritaeas
0
224
Member Avatar for pritaeas

## Before You Ask ## - Engage your brain! We understand that running into a problem can turn off the rational centers of the brain, but please sit back and think for a bit about your problem before running off to find help. All too often a little common sense …

1
261

The End.