8,966 Posted Topics

Member Avatar for Fieyzah

Do $res = mysql_query("SELECT * FROM pelajarpraktikal LIMIT ".$per_page." OFFSET ".$offset) or die(mysql_error()); and post the error message here.

Member Avatar for pritaeas
0
444
Member Avatar for HeavenLisbeth
Member Avatar for SunTecOSS
Member Avatar for vizz

By default the upload file size is 2mb. Is the video file larger? If yes, check your PHP.INI.

Member Avatar for jj.dcruz
0
1K
Member Avatar for Wojciech_1

> 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 …

Member Avatar for deceptikon
-5
288
Member Avatar for Wojciech_1

> 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.

Member Avatar for Gribouillis
-2
442
Member Avatar for man.chester.581

This perhaps: https://code.msdn.microsoft.com/windowsapps/Contact-Picker-App-sample-fc6677a1

Member Avatar for man.chester.581
0
195
Member Avatar for Ketsuekiame
Member Avatar for Pavel_47
3
5K
Member Avatar for Suzie999

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.

Member Avatar for Suzie999
0
156
Member Avatar for mattster

> That looks nice but that aint a Monopoly board! LOL. Well, just the middle is missing ;) But indeed looks nice.

Member Avatar for pritaeas
2
1K
Member Avatar for Joshua_11

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.

Member Avatar for pritaeas
0
341
Member Avatar for Kubilay Doğukan

It would be easier if you create the tables first, and afterwards add the constraints. Which application generated this script file?

Member Avatar for Kubilay Doğukan
0
289
Member Avatar for zachattack05

https://www.daniweb.com/community-center/daniweb-community-feedback/threads/452623/new-forum-topic-idea#post1962905 See Dani's answer.

Member Avatar for pritaeas
0
206
Member Avatar for ogsirus

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.

Member Avatar for ogsirus
0
861
Member Avatar for DaveAmour
Member Avatar for Wojciech_1
1
231
Member Avatar for vinay123012
Member Avatar for erum
Member Avatar for DaveAmour
0
250
Member Avatar for vanessa001

Hard to say. I'd suggest testing some of them and determine which you find easier to use.

Member Avatar for gentlemedia
-1
221
Member Avatar for ramsiva

Closed duplicate: https://www.daniweb.com/web-development/javascript-dhtml-ajax/threads/493484/how-to-get-difference-in-minutes-

Member Avatar for DaveAmour
0
119
Member Avatar for naui95
Member Avatar for rchawdhari
Member Avatar for rpv_sen

$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.

Member Avatar for pritaeas
0
272
Member Avatar for spud91

If someone can order more books, why is there no loop in your code (for every cart item)?

Member Avatar for spud91
0
342
Member Avatar for Szabi Zsoldos

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>'; }

Member Avatar for Szabi Zsoldos
0
254
Member Avatar for chaitu11

Closed duplicate, continue here: https://www.daniweb.com/web-development/php/threads/493384/insert-error-in-description

Member Avatar for pritaeas
0
783
Member Avatar for Makara

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.

Member Avatar for Makara
0
2K
Member Avatar for lloyd.farrell.7

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 …

Member Avatar for pritaeas
0
295
Member Avatar for DaveAmour

> 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 ;)

Member Avatar for DaveAmour
0
243
Member Avatar for Drugsxxx

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.

Member Avatar for jaumetet
0
6K
Member Avatar for gharris55

I think the problem is your SELECT INTO could return more than one record, so v_airports might be considered an array.

Member Avatar for pritaeas
0
390
Member Avatar for slyme

`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.

Member Avatar for pritaeas
0
272
Member Avatar for geodosch

Can you enter it as plain text (without the code format)? If you can, at least Dani can take a look at it later.

Member Avatar for Dani
1
252
Member Avatar for Jaklins

> $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.

Member Avatar for diafol
0
451
Member Avatar for Budy_2
Member Avatar for chrisschristou
Member Avatar for tdrosiadis
0
136
Member Avatar for matrixdevuk
Member Avatar for Dani

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.

Member Avatar for Dani
0
253
Member Avatar for hyperj123

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

Member Avatar for hyperj123
0
116
Member Avatar for PrinceRobinson

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.

Member Avatar for <M/>
0
260
Member Avatar for stokie-rich

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`, …

Member Avatar for stokie-rich
0
344
Member Avatar for sagar savji

That is only possible if your FTP servers support resuming. What programming language will you be using to download the file?

Member Avatar for sagar savji
0
129
Member Avatar for imti321

> I have a problem in this code Can you be more specific? What I notice are the `--` on line 34, that can cause issues.

Member Avatar for imti321
0
396
Member Avatar for Kumar_K_K
Member Avatar for pritaeas
0
61
Member Avatar for STEVOH
Member Avatar for Quast
Member Avatar for Quast
0
137
Member Avatar for Niloofar24
Member Avatar for spud91
Member Avatar for Jazmine_1
Member Avatar for Jazmine_1
0
310
Member Avatar for toplisek

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.

Member Avatar for toplisek
0
679
Member Avatar for ipage
Member Avatar for ipage
0
3K

The End.