8,966 Posted Topics
Re: Do $res = mysql_query("SELECT * FROM pelajarpraktikal LIMIT ".$per_page." OFFSET ".$offset) or die(mysql_error()); and post the error message here. | |
Re: By default the upload file size is 2mb. Is the video file larger? If yes, check your PHP.INI. | |
Re: > How to revert them? Edit your post and make sure your text cannot be interpreted as markdown, which gets the formatting you're talking about. > And where the hell is option to preview post? Click the green checkmark in the toolbar. > Instead of taking... Dani should... Don't tell … | |
Re: > At least change is not visible Change is visible if you switch from article to code snippet for example. The latter is not available in this sub-forum, but is in some others. | |
Re: This perhaps: https://code.msdn.microsoft.com/windowsapps/Contact-Picker-App-sample-fc6677a1 | |
Re: > probably this is a reason ? Yes, an empty base address is not a valid URI. | |
Re: The app.config you showed is that the one in your solution, or the one in your debug output folder? If that file is not overwritten when built, the running code may still have the old value. Either manually check, or do a "clean solution" to remove all old files. | |
Re: > That looks nice but that aint a Monopoly board! LOL. Well, just the middle is missing ;) But indeed looks nice. | |
Re: It put you (Xandy) in the COPPA users somehow, but I'm unable to edit this, probably becasue I'm a mod. Dani, since AD was admin, it might be a good idea to promote one of the mods so someone else (besides you) is able to fix these issues. | |
![]() | Re: It would be easier if you create the tables first, and afterwards add the constraints. Which application generated this script file? ![]() |
Re: https://www.daniweb.com/community-center/daniweb-community-feedback/threads/452623/new-forum-topic-idea#post1962905 See Dani's answer. | |
Re: Perhaps if you use a list instead of a dictionary. You can then order by value, find the one that is less or equal, and then take the next one if the difference between the value and your chosen number is less than the current one. | |
Re: > We are just saying that code first is better. Based on what? | |
Re: Hard to say. I'd suggest testing some of them and determine which you find easier to use. | |
Re: Closed duplicate: https://www.daniweb.com/web-development/javascript-dhtml-ajax/threads/493484/how-to-get-difference-in-minutes- | |
| |
Re: $strSQL = "select * from $database.FQ64004 order by SSYQ64LRDT,SSYQ64TJBS ASC"; This assumes a variable named `$database` is set. What value does it have? I suggest you add error checking to see if your query fails. | |
Re: If someone can order more books, why is there no loop in your code (for every cart item)? | |
Re: Something like this: $previous = ''; foreach($promotii as $promotie) { if ($previous != $promotie->Marca) { if (!empty($previous)) { echo '</ul>'; } $previous != $promotie->Marca; echo $promotie->Marca . '<ul>'; } echo "<li>$promotie->Product</li>"; } if (!empty($previous)) { echo '</ul>'; } | |
Re: Closed duplicate, continue here: https://www.daniweb.com/web-development/php/threads/493384/insert-error-in-description | |
Re: Looks like `$MSISDN` is not given a value, so the query works but does not find any matching rows. Next to that, directly injecting a comment into your query is likely to break it, for example when using apostrophes. You really need to do some sanitizing. | |
Re: The GROUP BY makes a group, so it collapses everything that has the same category. What you want is just the ORDER BY on the supporters table (with a join on the teams table), and adjust your output somewhat. Do you have two tables? One for teams and one for … | |
Re: > Is that functionality not there or can you do it for me please? Missing functionality. Change the title to PLEASE DELETE. That's what Dani advised me last time ;) | |
Re: I don't think SVG supports loops. What you can do is reuse an element, but you still need to add a tag for every one you need. Unless of course you programmatically generate your SVG. | |
Re: I think the problem is your SELECT INTO could return more than one record, so v_airports might be considered an array. | |
Re: `option` is a reserved word, therefore it must be enclosed in backticks. That's why 1 does not work. Query 2 works as it simply does a string comparison that returns false, hence no record set. | |
Re: Can you enter it as plain text (without the code format)? If you can, at least Dani can take a look at it later. | |
Re: > $message .= '<a href="'.$link.'/'.$emailfile.'">'.$invoice['filename'].'</a><br/>'; Are all your variables html/url encoded? If they are not, some may break your html. ![]() | |
Re: Just add an override style in those pages, hiding #sidebar and centering #content. | |
Re: I agree with Dave. Rolling your own is probably much simpler, because then you only build what you you need, without the additional functionalities of existing packages (if any). Often easier for the illiterate too, because there are less distractions. | |
Re: if ($_SESSION['user_name'] == 'john') or $_SESSION['user_name'] == 'mike') or if (in_array($_SESSION['user_name'], array ('john', 'mike'))) http://php.net/manual/en/language.control-structures.php | |
Re: Possible, but unlikely. You'll have to post something good, and the right (amount of) people have to see, agree and up-rep that within that time. | |
Re: mysql_query("INSERT INTO 'users' ('id, 'name', 'lname'; 'email', 'pass',) VALUES (NULL, '@$name', '$lname', '$uname', '$email1', '$pass1',) ") or die(mysql_error()); This is also invalid. It should be with backticks for the column names, and without semi-colons and the comma at the end. And no @: mysql_query("INSERT INTO `users` (`id`, `name`, `lname`, `email`, … | |
Re: That is only possible if your FTP servers support resuming. What programming language will you be using to download the file? | |
Re: > I have a problem in this code Can you be more specific? What I notice are the `--` on line 34, that can cause issues. | |
Re: http://framework.zend.com/manual/current/en/user-guide/overview.html | |
| |
Re: Line 18 has a syntax error, an if needs parenthesis. | |
| |
Re: You can set the delimiter tags Smarty should use to anything you want, or use `{literal}` to escape a block using the curly braces, but not using tags. | |
Re: Are you sure that the function you are calling is stdcall? Usually the default is cdecl. |
The End.