Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 24 of 24
Search took 0.09 seconds.
Search: Posts Made By: Krtoffel
Forum: PHP 12-18-2012, 09:05 PM
Replies: 5
Views: 265
Posted By Krtoffel
Yes that's the problem, it's random...

Yes that's the problem, it's random...
Forum: PHP 12-18-2012, 07:32 PM
Replies: 5
Views: 265
Posted By Krtoffel
The thing is, it works 50% on every file you can...

The thing is, it works 50% on every file you can imagine. Sometimes image A works, the next time it doesn't and so on. The same goes new images and overwrites. It's got me confused...:confused:
Forum: PHP 12-18-2012, 06:49 PM
Replies: 5
Views: 265
Posted By Krtoffel
imagejpeg function only working 50% of the time

Could anyone explain to me how it's possible that the function works half the time, but fails to do so the other half. This is the warning I get:

Warning: imagejpeg() [function.imagejpeg]: Unable...
Forum: PHP 11-03-2012, 12:36 PM
Replies: 1
Views: 471
Posted By Krtoffel
YouTube API error retrieving subscription videos (all of a sudden)

Hi guys,

I've been working on a script that retrieves subscription videos using the YouTube API. It worked fine yesterday, but when I continued working on it today, there was an error that I can't...
Forum: MySQL 10-07-2012, 05:28 PM
Replies: 1
Views: 311
Posted By Krtoffel
Join query leads to error?

$maak_tabel = mysql_query
("SELECT F.naam, F.jaar, F.genre_id, G.naam AS genre
FROM film F
JOIN genre G
ON F.genre_id = G.id");


Could anyone explain to me why this leads to an error? It...
Forum: PHP 11-19-2011, 11:59 AM
Replies: 2
Views: 251
Posted By Krtoffel
Bump... anyone with any suggestions?

Bump... anyone with any suggestions?
Forum: PHP 11-18-2011, 06:21 PM
Replies: 2
Views: 251
Posted By Krtoffel
this is the way I currently do it btw... it...

this is the way I currently do it btw... it somewhat works, but it's not exactly what i have in mind:


$relatedvideos = "SELECT * FROM videos " . $where;
$query2 = mysql_query($relatedvideos);...
Forum: PHP 11-18-2011, 06:08 PM
Replies: 2
Views: 251
Posted By Krtoffel
Combine multiple where queries?

I've got this thing in my mind, but I'm not sure on how to accomplish it. I'm working on a video site and when a visitor watches a video I want to show 5 related vids on the side (like youtube). I'd...
Forum: MySQL 11-17-2011, 02:44 PM
Replies: 10
Views: 591
Posted By Krtoffel
Thanks guys, I'll keep that in mind :)

Thanks guys, I'll keep that in mind :)
Forum: MySQL 11-13-2011, 08:44 PM
Replies: 10
Views: 591
Posted By Krtoffel
That did the trick, thanks a lot!

That did the trick, thanks a lot!
Forum: MySQL 11-13-2011, 08:30 PM
Replies: 10
Views: 591
Posted By Krtoffel
Thanks for the replies guys, but the id still...

Thanks for the replies guys, but the id still shows up... :confused:
Forum: MySQL 11-13-2011, 08:09 PM
Replies: 10
Views: 591
Posted By Krtoffel
Mysql query returns ID that I'd like to hide?

I'm not really sure what I'm doing wrong here... This is my query:

SELECT * FROM videos WHERE tags LIKE '%federer%' OR tags LIKE '%gasquet%' OR tags LIKE '%paris%' AND id != '2'

Why does it...
Forum: PHP 11-09-2011, 01:25 PM
Replies: 1
Views: 518
Posted By Krtoffel
Only offer specific uploadable file extensions in browse window

Hi guys,

I'm offering my users the option to upload jpg/png files and it works as it's supposed to. Some people are just to lazy to read though and still try to upload bmp/gif etc... My script...
Forum: MySQL 10-23-2011, 01:39 PM
Replies: 8
Views: 466
Posted By Krtoffel
Thanks again for your response. My knowledge of...

Thanks again for your response. My knowledge of MYSQL was a bit too limited to get the job done, so I took some time to learn a bit more about it. I managed to figure it out now and see why it's...
Forum: MySQL 10-21-2011, 03:40 PM
Replies: 8
Views: 466
Posted By Krtoffel
I'm trying this right now, but not really getting...

I'm trying this right now, but not really getting the desired result. I get the error message

"Cannot add or update a child row: a foreign key constraint fails (`creativetalents`.`uploads`,...
Forum: MySQL 10-21-2011, 12:48 AM
Replies: 8
Views: 466
Posted By Krtoffel
Some real good suggestions here. I'm gonna work...

Some real good suggestions here. I'm gonna work on all of them tomorrow. I'm more into PHP than MYSQL, so suggestions like these are really useful to me :thumbsup:


The photo[x].jpg was just an...
Forum: MySQL 10-20-2011, 11:39 PM
Replies: 8
Views: 466
Posted By Krtoffel
Hi, No it's not to keep track of the amount...

Hi,

No it's not to keep track of the amount of pictures or anything like that, I use php queries to figure that out. I just thought it would be more logical to do it the way I suggested. I got my...
Forum: MySQL 10-20-2011, 10:31 PM
Replies: 8
Views: 466
Posted By Krtoffel
Question about the structure of my database

Hi guys,

I've just finished the code of my php database for users to upload photos and add the data to my database. There's one thing about the structure of my db that I don't like though and I...
Forum: PHP 10-04-2011, 04:49 PM
Replies: 4
Views: 351
Posted By Krtoffel
Thanks for the replies, but already got it...

Thanks for the replies, but already got it figured out.

I think you are right Matt. I solved it by putting the $row variable outside of the functions.
Forum: PHP 10-04-2011, 04:41 PM
Replies: 4
Views: 351
Posted By Krtoffel
Nevermind... I've been awake too long :P

Nevermind... I've been awake too long :P
Forum: PHP 10-04-2011, 03:40 PM
Replies: 4
Views: 351
Posted By Krtoffel
Having displaying columns of a random MYSQL row inside function

Hi guys,

Here's the thing I want to achieve. I have a MYSQL DB that contains some user info that I want to be able to display randomly.

The columns I want to display are:
username | gender |...
Forum: PHP 10-01-2011, 03:59 PM
Replies: 6
Views: 765
Posted By Krtoffel
Thanks abduraooft! The problem did seem to...

Thanks abduraooft!

The problem did seem to have something to do with the MYSQL part. I set unique indexes to both columns and the script does its job now. I'll take a look at the mysql_errno()...
Forum: PHP 10-01-2011, 03:24 PM
Replies: 6
Views: 765
Posted By Krtoffel
Thanks for taking the time to respond. I tried...

Thanks for taking the time to respond. I tried your suggestion, but didn't get it to work.

Perhaps there's something wrong with the rest of my code, here's the rest:

<?php...
Forum: PHP 10-01-2011, 02:37 PM
Replies: 6
Views: 765
Posted By Krtoffel
Checking if email is already in use (in MYSQL DB) doesn't work

Hi guys,

I just registered, so hi y'all :)

I've started learning PHP about a month ago and I'm running into a problem atm. I've created a registration page and want the script to check if the...
Showing results 1 to 24 of 24

 
Forum Jump

All times are GMT +1. The time now is 04:00 PM.