8,966 Posted Topics

Member Avatar for masocha

You can extract the required arguments from this [SO thread](http://stackoverflow.com/questions/13674083/sugarcrm-rest-set-relationship-not-working).

Member Avatar for masocha
0
160
Member Avatar for nitin1

> Otherwise it has too much of a "Big Brother" feel. IMHO the "User1 is reading a private message from User2" in the activity stream is also border-line big brother.

Member Avatar for Sahil89
0
377
Member Avatar for nitin1

[Design patterns](http://www.amazon.com/Design-Patterns-Elements-Reusable-Object-Oriented/dp/0201633612/ref=pd_sim_b_1#reader_0201633612).

Member Avatar for nitin1
0
526
Member Avatar for showman13

It shouldn't be an issue as bigint can handle larger numbers than int. The other way around could be more complicated.

Member Avatar for showman13
0
199
Member Avatar for varma51

Store the selected one in a session variable, and use that to select the right radiobutton when generating your page.

Member Avatar for diafol
0
122
Member Avatar for daino

> readline.c:220:23: error: termio.h: No such file or directory Are you sure the path to this file is correct?

Member Avatar for daino
0
656
Member Avatar for krunal1986
Member Avatar for kroyal
Member Avatar for hwoarang69

I don't think there is a need to separate the two user tables. I am not sure what you mean by "item_brought //int array?".

Member Avatar for pritaeas
-1
176
Member Avatar for faizan.saleem.96

Instead of: if (!empty($_REQUEST['paidto'])) $arr .= " AND paidto = '".$_REQUEST['paidto']."'"; you can use: if (!empty($_REQUEST['paidto'])) $arr .= " AND paidto LIKE '%".$_REQUEST['paidto']."%'";

Member Avatar for pritaeas
0
183
Member Avatar for Violet_82

It is using the ternary operator twice. Single ternary operator: boolean expression ? value when true : value when false Nested (as above): boolean expression ? value when true : boolean expression 2 ? value when true : value when false So when the width is between 742 and 1202 …

Member Avatar for Violet_82
0
113
Member Avatar for RinzLove
Member Avatar for drjohn
0
2K
Member Avatar for wvoke9

You'll need to use GROUP BY so you can use COUNT. If you can show how your table and data looks we can be more specific.

Member Avatar for pritaeas
0
144
Member Avatar for kevinyu
Member Avatar for gon1387
0
122
Member Avatar for Venter

Store your selected questions/answers in a session variable, once you've selected them.

Member Avatar for gon1387
0
226
Member Avatar for DaveyMoyes

I don't see any obvious issues. In my experience the internal server error is usually caused by typos, or unsupported features.

Member Avatar for gon1387
0
302
Member Avatar for kshahnazari

http://www.daniweb.com/web-development/php/threads/442314/fetch-the-data-from-other-website

Member Avatar for pritaeas
0
77
Member Avatar for Venter

You can try to trap the keys with Javascript, but this kind of hack is highly discouraged. Anyway, clicking the browser's refresh button will still work and you can't disable that.

Member Avatar for pritaeas
0
65
Member Avatar for LastMitch

What is in the src in your resulting html? Since you explode on `=>` there may be an additional space. You may have to trim it for the image.

Member Avatar for LastMitch
9
1K
Member Avatar for NardCake

You can use the setTimeout function to call a function at an interval. You can just store these characters in an array, and store the current index. In your function you replace the character with the next one.

Member Avatar for NardCake
0
150
Member Avatar for kishoresai438
Member Avatar for latecomer
Member Avatar for Taywin
0
177
Member Avatar for bradly.spicer

Is your id column set to auto_increment ? You can add additional checks on the connect and select_db and see if those are executing correctly too.

Member Avatar for bradly.spicer
0
146
Member Avatar for eburlea

Likely the action is executed after the submit function ends (because you are using a submit type button). You should be able to prevent it if you use `return false;` as last statement in the submit function.

Member Avatar for eburlea
0
353
Member Avatar for taryn.bleckley.3

Windows or *nix? Local development, or production server? What is the value of `$success` ? Have you tried `$to` without adding the quotes? Have you tried to specify a valid from email address in the header?

Member Avatar for taryn.bleckley.3
0
132
Member Avatar for bradly.spicer

$sql = "INSERT INTO Customers( ClientName, ContactName, Date column is missing here ) VALUES ( '$clientname', '$contactname', NOW() )"; If you don't have a date column, remove the comma after ContactName, and remove NOW (and the comma after $contactname). Use `mysql_real_escape_string`, all lower case.

Member Avatar for bradly.spicer
0
176
Member Avatar for FakeTales
Member Avatar for riahc3

> God I hate Javascript Too bad... all of my users prefer the jQuery UI datepicker A LOT over three comboboxes. Consider your clients, not _your_ preference. PHP only may be a little tricky. I am sure you'd want the days for February to adjust correctly without refreshing the page.

Member Avatar for pritaeas
0
112
Member Avatar for constance.dobbins
Member Avatar for pritaeas
0
2K
Member Avatar for HunainHafeez

A class diagram represent your classes and hierarchies between them. An ERD is something similar, but for your database/tables.

Member Avatar for pritaeas
0
116
Member Avatar for OsaMasw

You have more than one `li`. I suggest you do this: <li><a id="target_<? echo $id; ?>" href="like.php" onclick="toggle(<? echo $id; ?>)"><img src = "like.png" />Like</a></li> and change toggle to: function toggle(id) { var e = document.getElementById('target_' + id); e.style.display = 'none'; } Another option would be: <li><a id="target_<? echo $id; …

Member Avatar for OsaMasw
0
3K
Member Avatar for Dani

I've never used this before, so can't help you. Honestly, I doubt you're gonna get an answer in this sub-forum. There's hardly any activity.

Member Avatar for Dani
0
102
Member Avatar for Violet_82
Member Avatar for Violet_82
0
232
Member Avatar for dstoltz

You can integrate flickr if you do not want to store the images yourself. You'll still have to add coding to show them, but there may be scripts pre-built. If you want to do it yourself, I suggest you add thumbnails to the pages (there are tools to do that …

Member Avatar for dstoltz
0
169
Member Avatar for micheal.burns1

> it may be awaiting activation This is the likeliest option. Your best bet would be to contact one of the admins/mods on the forum you are using.

Member Avatar for Dani
0
200
Member Avatar for gameguy91

What do you have so far? We can guide you if you have issues, but we're not going to write it.

Member Avatar for pritaeas
0
107
Member Avatar for daniel36
Member Avatar for daniel36
Member Avatar for daniel36

What database? For MySQL [see here](http://dev.mysql.com/doc/refman/5.6/en/create-index.html). Basically, it should look something like this, although you can specify more options: CREATE UNIQUE INDEX MyIndex ON MyTable (month, year, username)

Member Avatar for daniel36
0
109
Member Avatar for barb.saunders.5

You can just use a regular query and use DATEDIFF with NOW. Read more [here](http://dev.mysql.com/doc/refman/5.6/en/date-and-time-functions.html).

Member Avatar for pritaeas
0
70
Member Avatar for Venter

If you have a `$row['id']` you can postfix that to the name of the radiobutton. If not, just use a counter which increases every iteration.

Member Avatar for pritaeas
0
136
Member Avatar for SPRINGHEEL
Member Avatar for pritaeas
0
204
Member Avatar for mehnihma

Add error checking on your queries. You won't notice errors as it is now.

Member Avatar for gon1387
0
319
Member Avatar for MMadhavi

Do you mean something like this: if you visit onderwaterwereld.org and then click on the item "Duik locaties" it will open a map in a popup. The popup is just a separate html page with all the map specifics. Copy what you need.

Member Avatar for MMadhavi
0
1K
Member Avatar for axymak
Member Avatar for clausont

> Object reference not set to an instance of an object On what line do you get this error?

Member Avatar for clausont
0
218
Member Avatar for matt_higgins

Do this: mysql_query($query1) or die(mysql_error()); Most likely it will complain about missing quotes.

Member Avatar for EvolutionFallen
0
268
Member Avatar for cdoggg94

Try this [code snippet](http://www.daniweb.com/web-development/php/code/425686/create-a-table-x-columns-wide).

Member Avatar for pritaeas
0
97
Member Avatar for coder91

Just replace `column.ColumnName` with the names you want. I suggest using a dictionary to use for the conversion.

Member Avatar for coder91
0
443
Member Avatar for javedsai

14 left joins... Have you tried EXPLAIN ? Are you using indexes, foreign keys ? Apart from all that, if you can, put the most restrictive restriction first (to compact the result set early on).

Member Avatar for javedsai
0
174

The End.