8,966 Posted Topics
Re: You can extract the required arguments from this [SO thread](http://stackoverflow.com/questions/13674083/sugarcrm-rest-set-relationship-not-working). | |
Re: > 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. | |
Re: [Design patterns](http://www.amazon.com/Design-Patterns-Elements-Reusable-Object-Oriented/dp/0201633612/ref=pd_sim_b_1#reader_0201633612). | |
Re: It shouldn't be an issue as bigint can handle larger numbers than int. The other way around could be more complicated. | |
Re: Store the selected one in a session variable, and use that to select the right radiobutton when generating your page. ![]() | |
Re: > readline.c:220:23: error: termio.h: No such file or directory Are you sure the path to this file is correct? | |
Re: What's the error message you get? | |
Re: 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?". | |
Re: Instead of: if (!empty($_REQUEST['paidto'])) $arr .= " AND paidto = '".$_REQUEST['paidto']."'"; you can use: if (!empty($_REQUEST['paidto'])) $arr .= " AND paidto LIKE '%".$_REQUEST['paidto']."%'"; | |
Re: 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 … | |
Re: It could be a quoting issue in your data. Hard to see without the table structure and test data. | |
Re: 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. | |
Re: No. Without scripts the page will close and open a new one, thus stopping the video. | |
Re: Store your selected questions/answers in a session variable, once you've selected them. | |
Re: I don't see any obvious issues. In my experience the internal server error is usually caused by typos, or unsupported features. | |
Re: http://www.daniweb.com/web-development/php/threads/442314/fetch-the-data-from-other-website | |
Re: 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. | |
![]() | Re: 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. ![]() |
Re: 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. | |
Re: Sounds like the plugin is not loading. Do you see any errors? ![]() | |
Re: Show a little more. The problem is most likely just before this line. | |
Re: 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. | |
Re: 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. | |
Re: 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? | |
Re: $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. | |
![]() | |
Re: > 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. | |
Re: Try debugging your code with the browser tools. It's the best way to learn how to find the problem. | |
Re: A class diagram represent your classes and hierarchies between them. An ERD is something similar, but for your database/tables. | |
Re: 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; … | |
Re: 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. | |
Re: Have you tried a non-png image? I remember that IE7 often had issues with those. | |
Re: 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 … | |
Re: > 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. | |
Re: What do you have so far? We can guide you if you have issues, but we're not going to write it. | |
Re: http://api.jquery.com/change/ | |
Re: 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) | |
Re: 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). | |
Re: 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. | |
Re: Your interface defines a `public String Enroll()` without parameters. You do not have one. | |
![]() | Re: Add error checking on your queries. You won't notice errors as it is now. |
Re: 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. | |
Re: > Object reference not set to an instance of an object On what line do you get this error? | |
Re: Do this: mysql_query($query1) or die(mysql_error()); Most likely it will complain about missing quotes. | |
Re: Try this [code snippet](http://www.daniweb.com/web-development/php/code/425686/create-a-table-x-columns-wide). | |
Re: Just replace `column.ColumnName` with the names you want. I suggest using a dictionary to use for the conversion. | |
Re: 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). |
The End.