Search Results

Showing results 1 to 40 of 60
Search took 0.01 seconds.
Search: Posts Made By: RoryGren
Forum: Pascal and Delphi Sep 2nd, 2008
Replies: 3
Views: 1,253
Posted By RoryGren
Hi there

You need to call your function / procedure with unit.procedure -


greet.Salute( ParamStr( index ) )


Hope that helps!
Forum: JavaScript / DHTML / AJAX May 5th, 2008
Replies: 3
Views: 3,068
Posted By RoryGren
As your code currently stands, showResult(this.value) is only going to use the value of the clicked select box. Each time you click one of the selects, it will only send its value to the javascrit...
Forum: Pascal and Delphi Apr 22nd, 2008
Replies: 6
Views: 2,228
Posted By RoryGren
What is also happening in your code, is that when you find a duplicate, you are setting included to True, but are not exiting your loop and the next number in the array is not a duplicate, so...
Forum: PHP Apr 22nd, 2008
Replies: 1
Views: 728
Posted By RoryGren
Could be because there aren't any radio buttons ..... ;-)

Not in this sample code anyway! You need to give a little more information.
Forum: PHP Apr 22nd, 2008
Replies: 7
Views: 1,142
Posted By RoryGren
If the images are actually being stored in the database, I don't think you can do it. The recipient's PC would need permission to access your database and that isn't normally done.

If the images...
Forum: PHP Apr 21st, 2008
Replies: 7
Views: 1,142
Posted By RoryGren
Something along the lines of
www.yourdomain.com/imagefolder/imagefilename should work.
Forum: MySQL Apr 3rd, 2008
Replies: 2
Views: 1,814
Posted By RoryGren
That query you have should work. I have just tried it on one of my databases and it ran with no problems.
Forum: PHP Apr 3rd, 2008
Replies: 2
Views: 1,281
Posted By RoryGren
Is your file saved with a php extension?

If you have htm or html as the extension, it won't be sent to the php interpreter and will just be displayed as if it were html.
Forum: MySQL Apr 3rd, 2008
Replies: 7
Views: 1,160
Posted By RoryGren
Thanks, Blater!

That one seemed to get suck in a loop and I had to bomb it out.

I chatted to a friend who had been away on leave and he gave me this query which works like a bomb!


select
...
Forum: Pascal and Delphi Apr 1st, 2008
Replies: 7
Views: 1,649
Posted By RoryGren
First of all you need the form names in your uses clauses - if you have the editbox in formOne and want to use the value in formTwo, in formTwo's uses clause, you must have a reference to formOne.
...
Forum: PHP Apr 1st, 2008
Replies: 6
Views: 2,007
Posted By RoryGren
Try giving your select element focus using onLoad in your BODY tag. That should automatically select the first option in the list.

<BODY onLoad="mySelect.focus();">

You will need to give the...
Forum: Pascal and Delphi Apr 1st, 2008
Replies: 1
Views: 733
Posted By RoryGren
I think the dgn extension is for Bentley MicroStation or PowerDraft - CAD programmes. As far as I am aware, Delphi doesn't open them.
Forum: PHP Apr 1st, 2008
Replies: 10
Views: 2,962
Posted By RoryGren
I see you are using ob_end_clean() - that clears the Output buffers and turns off output buffering. I am not sure, but that might mean that your include 'all.php'; will not be used at all.

Try...
Forum: MySQL Mar 31st, 2008
Replies: 7
Views: 1,160
Posted By RoryGren
OK, Blater!

A twist to the tale!

I need to add the meet name - field MNAME, table MEET - for the BestTime, so that the swimmers can see which meet it was where they achieved their best time....
Forum: Pascal and Delphi Mar 30th, 2008
Replies: 3
Views: 1,209
Posted By RoryGren
Does Delphi 5 not do DateToStr() conversion? Sorry, I've only ever used D6 and D7 and that works.
Forum: PHP Mar 29th, 2008
Replies: 6
Solved: why use @
Views: 755
Posted By RoryGren
Thanks, Naveen!
Forum: MySQL Mar 29th, 2008
Replies: 7
Views: 1,160
Posted By RoryGren
You are a star! My query took about 14 secs, this one takes 0.2 secs!

Thank you very much!
Forum: PHP Mar 29th, 2008
Replies: 6
Solved: why use @
Views: 755
Posted By RoryGren
How does it help?

Thanks.
Forum: MySQL Mar 28th, 2008
Replies: 3
Views: 1,108
Posted By RoryGren
There shouldn't be a problem there. Use the same connection details for both domains.
Forum: PHP Mar 28th, 2008
Replies: 11
Views: 2,365
Posted By RoryGren
Hi Guys

Please will you tell us lesser mortals what is bad about the code so that we can learn not to do the same?

Your input is appreciated!

Rory.
Forum: PHP Mar 28th, 2008
Replies: 5
Views: 606
Posted By RoryGren
For the custom error page, you would need to have access to that from your ISP. My ISP gives me a control panel where I can set these things up.

Sorry I can't be more helpful.
Forum: MySQL Mar 28th, 2008
Replies: 7
Views: 1,160
Posted By RoryGren
Okay, thanks. I'll have a bash at that.
Forum: PHP Mar 27th, 2008
Replies: 3
Views: 861
Posted By RoryGren
I think I understand what you are asking and I'm not too sure how you are going to get it right.

You might have to do the move to the new folder so that the image is available for whatever occurs...
Forum: Community Introductions Mar 27th, 2008
Replies: 7
Views: 562
Posted By RoryGren
Hey! A fellow Durbanite! Good to meet you!
Forum: MySQL Mar 27th, 2008
Replies: 4
Views: 765
Posted By RoryGren
I suggest you post your question on the Java forum. You'll probably get better help there
Forum: MySQL Mar 27th, 2008
Replies: 7
Views: 1,160
Posted By RoryGren
Hi all.

I have posted on this before with no response. Let me try a different way.

I have a db with a few tables :-

ATHLETE, which contains fields ATHLETE (the record Id), FIRST, LAST, AGE...
Forum: MySQL Mar 27th, 2008
Replies: 4
Views: 765
Posted By RoryGren
I don't think you will be able to do that from mySQL.

What scripting / programming language are you going to use?
Forum: MySQL Mar 27th, 2008
Replies: 31
Views: 9,726
Posted By RoryGren
Oh, it's good to see that other people make silly mistakes as well! ;-)

Thanks, Nav! I've learned here too!
Forum: MySQL Mar 27th, 2008
Replies: 31
Views: 9,726
Posted By RoryGren
You should actually try and avoid using SELECT * and rather list the columns you want to be returned SELECT col1, col2, col3 It just helps speeding things up a bit and you don't have a ton of...
Forum: MySQL Mar 27th, 2008
Replies: 31
Views: 9,726
Posted By RoryGren
Also -


if( $res !== "" ) {
echo "Nothing in recordset.";
} else {
echo "Something in recordset.";
}
Forum: MySQL Mar 27th, 2008
Replies: 31
Views: 9,726
Posted By RoryGren
Maybe my reply was a little hazy too! Sorry! ;-)

By printing out the queries, you will be able to see what the mySQL server is being sent and hopefully that will steer you in the right direction!
Forum: MySQL Mar 27th, 2008
Replies: 31
Views: 9,726
Posted By RoryGren
OK. A little hazy still ... We don't know which is line 1.

Print out your queries with echo $SQL and see if that helps.
Forum: Community Introductions Mar 27th, 2008
Replies: 6
Views: 525
Posted By RoryGren
Welcome ... and I'm sure we can learn from you too!
Forum: Community Introductions Mar 27th, 2008
Replies: 7
hey
Views: 417
Posted By RoryGren
Hi there!
Forum: Community Introductions Mar 27th, 2008
Replies: 7
Views: 466
Posted By RoryGren
Welcome to Daniweb!
Forum: Community Introductions Mar 27th, 2008
Replies: 7
Views: 562
Posted By RoryGren
Hey, all!

My name is Rory. I'm from Durban in South Africa. I do a little html, php, mySQL, and Delphi development. ... and I LOVE this community! I have had so much help, just reading queries and...
Forum: MySQL Mar 27th, 2008
Replies: 31
Views: 9,726
Posted By RoryGren
Hi Kevin

What else does the error message say?

Normally something along the lines of "near..."
Forum: MySQL Mar 27th, 2008
Replies: 2
Views: 654
Posted By RoryGren
Are you using different software to connect to the db?

I have had a case when using a login with read/write access to my db from SQLYog where my ISP login automatically gets added to the db...
Forum: PHP Mar 27th, 2008
Replies: 9
Views: 1,317
Posted By RoryGren
Then I agree with Suomedia. I use SQLYog, though. It's a really nice query analyser type tool that you install on your local PC. It will allow you to do almost anything with your database.
...
Forum: PHP Mar 27th, 2008
Replies: 11
Views: 2,365
Posted By RoryGren
Hi Justin

I see you have the command ob_start() at the top of your php. Do you have the ob_end_flush() command before the page end?

What ob_start() does is to hold all the php output in its...
Showing results 1 to 40 of 60

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC