Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 25 of 72
Search took 0.40 seconds.
Search: Posts Made By: friz
Forum: Java and JSP 10-31-2012, 02:24 AM
Replies: 2
Views: 967
Posted By friz
Thank you! :thumbsup:

Thank you! :thumbsup:
Forum: Java and JSP 10-31-2012, 12:34 AM
Replies: 2
Views: 967
Posted By friz
Scanner nextDouble - decimal comma or point

I'm just starting with Java and the following is not quite clear to me.
I wrote this piece of very basic code and it only let's me input numbers with a decimal comma, not with a decimal point.

I...
Forum: JavaScript programming 09-08-2012, 12:10 PM
Replies: 6
Views: 341
Posted By friz
Hi Philip, I did the typeof part, that's...

Hi Philip,


I did the typeof part, that's why I used the parseInt in the first example, but you're right, I forgot to copy the radix, which I had in my original code.

I'm just testing things...
Forum: JavaScript programming 09-07-2012, 10:41 PM
Replies: 6
Views: 341
Posted By friz
Yeah, I saw that last example somewhere on the...

Yeah, I saw that last example somewhere on the net while doing some searching on the topic. I used the weekdays just as an example. I don't see myself using switch that way for big arrays though...
Forum: JavaScript programming 09-07-2012, 08:34 PM
Replies: 6
Views: 341
Posted By friz
Thanks for the quick reply. I really thought...

Thanks for the quick reply.

I really thought something simple as this would work :)
So, switch checks only for specific values? And for eg booleans I should use if/else or do/while?
Forum: JavaScript programming 09-07-2012, 08:09 PM
Replies: 6
Views: 341
Posted By friz
Switch and Integers

Hi,

I'm just starting with javascript and I can't figure out why this code isn't working. It always gives me the default.
I know this is the problem, but why doesn't it work?
case (aday <=...
Forum: PHP 02-12-2012, 04:27 PM
Replies: 2
Views: 755
Posted By friz
Hmm, that simple :rolleyes: Thanks, that...

Hmm, that simple :rolleyes:

Thanks, that worked perfectly!!
Forum: PHP 02-12-2012, 03:39 PM
Replies: 2
Views: 755
Posted By friz
Multi-dimensional array and sessions

Hi,

I want to improve my php skills, especially with arrays and sessions.
So, trying to built a shopping cart seemed like a good next step.
I'm having some trouble with the cart though.

I...
Forum: PHP 12-06-2010, 09:05 PM
Replies: 5
Views: 886
Posted By friz
Me changing the code was probably the problem. :D...

Me changing the code was probably the problem. :D
Anyway, I'll put een file type check in my upload script. I don't need to copy/paste for that ;)


That script from blazonry was my first google...
Forum: PHP 12-06-2010, 08:35 PM
Replies: 5
Views: 886
Posted By friz
Thx for the (very quick) reply. It took it...

Thx for the (very quick) reply.

It took it out of the "if" and that worked :D

if (preg_match("/jpg|jpeg/",$system[1])){$src_img=imagecreatefromjpeg($orig_img);}
to...
Forum: PHP 12-06-2010, 07:54 PM
Replies: 5
Views: 886
Posted By friz
Creating thumbnails

Hi,

I have a picture upload script. I'd like to add automatic thumbnail creation.

I tried to adapt this code (http://icant.co.uk/articles/phpthumbnails/), but I'm getting some errors.

This...
Forum: JavaScript frameworks 08-14-2010, 04:39 PM
Replies: 4
Views: 1,739
Posted By friz
Thanks for taking the time to test this. On...

Thanks for taking the time to test this.

On another page I use a "Lightbox" gallery which also uses "rel=..." and I have the same problem there with the overlay.

I'll start again with the...
Forum: JavaScript frameworks 08-13-2010, 05:45 PM
Replies: 4
Views: 1,739
Posted By friz
Thanks for the reply :thumbsup: It looks...

Thanks for the reply :thumbsup:

It looks like the problem is more complex, because it didn't solve the problem :(
Any other suggestions?
Forum: JavaScript frameworks 08-13-2010, 02:12 AM
Replies: 4
Views: 1,739
Posted By friz
Multiple anchors with different rel attribute problem

Hi,

I've been using this script to open a page in a new window
function externalLinks() {
if (!document.getElementsByTagName && document.getElementById) return;

var anchors =...
Forum: Flash & ActionScript 06-26-2010, 12:59 AM
Replies: 1
Views: 1,708
Posted By friz
Looks like this part of the code doesn't work in...

Looks like this part of the code doesn't work in IE

...?version=3&autoplay='.$autoplay.'&color1=0xb1b1b1&color2=0xcfcfcf&hd=1&iv_load_policy=3&feature=player_embedded...

This simpler code works...
Forum: Flash & ActionScript 06-25-2010, 04:01 PM
Replies: 1
Views: 1,708
Posted By friz
Youtube embed problem

Hi, I hope this is the right forum for this question.

I've made a video page with youtube clips that is working fine in FF, Chrome, Safari and Opera. But for some reason it won't work in IE.
...
Forum: MySQL 06-24-2010, 05:10 PM
Replies: 6
Views: 713
Posted By friz
Thx everyone!! @ old pedant & Keleth Jeez,...

Thx everyone!!

@ old pedant & Keleth
Jeez, that I didn't think off a solution that simple :o
But then, it was 2:30 in the morning :rolleyes:

@ guelphdad
4.0.27-max
I know... this host...
Forum: MySQL 06-24-2010, 01:20 AM
Replies: 6
Views: 713
Posted By friz
Subquery doesn't work. Good alternate solution?

Hi,

I used this query on my localhost and server. It always worked


SELECT tv_link, tv_text, tv_title
FROM tv
WHERE tv_id = (SELECT MAX(tv_id) FROM tv)
Now I've changed host and the query...
Forum: PHP 04-05-2010, 10:34 PM
Replies: 5
Views: 772
Posted By friz
Thank you. :thumbsup: Didn't know about...

Thank you. :thumbsup:
Didn't know about mysql_data_seek.
Forum: PHP 04-05-2010, 08:45 PM
Replies: 5
Views: 772
Posted By friz
Thank you both :thumbsup: Commenting out ...

Thank you both :thumbsup:

Commenting out
$cat = mysql_result ( $result, $i, "r.naam");
solved the "lost" data problem, but of course there's no category name now.
I can't put the above code in...
Forum: PHP 04-05-2010, 06:26 PM
Replies: 5
Views: 772
Posted By friz
Question Query not showing all results

I have a link page that shows links per category

function printLinks($cat) {
$query = "SELECT l.naam as linknaam,
l.link,
l.cat,
r.cat,
...
Forum: PHP 03-09-2010, 07:50 PM
Replies: 5
Views: 668
Posted By friz
But if I do that it will show the 'nav' div over...

But if I do that it will show the 'nav' div over 300 times (for all entries).

I've tested with a while loop for the previous (vorige) and next (volgende) link
$vorige_result=mysql_query("SELECT...
Forum: PHP 03-09-2010, 07:16 PM
Replies: 5
Views: 668
Posted By friz
Thx :thumbsup: So, if I read correctly, I...

Thx :thumbsup:
So, if I read correctly, I should only use those needed. And the $request one if I need all 3?

Any ideas on the previous question?

I've tried
AND datum >'$datum'
ORDER BY...
Forum: PHP 03-09-2010, 02:54 AM
Replies: 5
Views: 668
Posted By friz
... and then I got an idea :rolleyes: I've...

... and then I got an idea :rolleyes:

I've rewritten the previous code (better iteration and more secure) and added what I've found so far:

<?php
require("includes/menu.php");
...
Forum: PHP 03-08-2010, 01:50 AM
Replies: 11
Views: 1,016
Posted By friz
Thx for the tip :thumbsup:

Thx for the tip :thumbsup:
Showing results 1 to 25 of 72

 
Forum Jump

All times are GMT +1. The time now is 06:44 PM.