Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
4
Posts with Upvotes
4
Upvoting Members
4
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
2 Commented Posts
3 Endorsements
Ranked #486
Ranked #914
~19.8K People Reached
About Me

Software development and support

PC Specs
Apple MacBook Pro 17"
Favorite Tags

52 Posted Topics

Member Avatar for mrcniceguy
Member Avatar for Carsten_1
0
7K
Member Avatar for vividiah
Re: Haii

You have come to a good place! Everybody here is always very helpful and friendly! Welcome!

Member Avatar for vividiah
0
70
Member Avatar for wastedkill

Try running the query on a query tool like mySQL Workshop using a valid value for your variable and see if it runs.

Member Avatar for EvolutionFallen
0
190
Member Avatar for krystosan

Hi - Don't know if you've found one - I use Komodo Edit. Just Google it and you'll find the relevant download info and links.

Member Avatar for krystosan
0
355
Member Avatar for shilu2
Member Avatar for cgull
Member Avatar for HumblePie

Hi Samantha, I'm also from South Africa and teaching myself, also pretty late in life! Daniweb is a great site. Lots of friendly, incredibly helpful folk! Enjoy and all the best!

Member Avatar for rsewak
0
176
Member Avatar for pbj.codez
Member Avatar for dina85
Member Avatar for RoryGren

Hi All I'm sure I'm missing something very small - and embarrassing! I'm being lazy - I could have entered the data manually, but wanted to automate it. I have a small csv file containing swimming meets, dates and locations along the following lines: May-13;;;; 17;other;Level 1 Program 1;Arboretum; 24;other;All …

Member Avatar for RoryGren
0
251
Member Avatar for Reliable

Cheat sheets are wonderful! Copying code from other projects you've done is common. It's also common practise to save a document with all the "utilities" you've developed and copy from that into new projects.

Member Avatar for RoryGren
0
108
Member Avatar for Dramz0r

You will have to re-populate the select options in the list box when you click the delete button - reload the page.

Member Avatar for Dramz0r
0
236
Member Avatar for GlenRogers

How about putting something like if ($adate != '') {... into your foreach loop so that it only inserts if $adate has a value?

Member Avatar for GlenRogers
0
161
Member Avatar for noman90

Have you had a look at awstats? It gives you a lot of interesting statistics. Most hosts include awstats as part of their package. Otherwise just Google "awstats" - you can download the code from sourceforge and install it on your page.

Member Avatar for stultuske
0
130
Member Avatar for AARTI SHRIVAS

Put your second and subsequent selects into their own "parent elements" like a div or a span. Then "create" the entire new select inside the relevant parent element - innerHTML - using the onClick or onChange event. Something like - <select onChange(nextParentElement.innerHTML=nextSelect(SelectedOption))>

Member Avatar for AARTI SHRIVAS
0
278
Member Avatar for Riu 2009

How about something like: echo "<td>"; if ("I must display") { echo "<a href='request-for-approval.php?id=".$row['cid']."& sid=".$row['sid']."'>Apply!</a>"; } else { echo "&nbsp;"; } echo "</td>";

Member Avatar for Riu 2009
0
185
Member Avatar for kevin wood

Hi Kevin What else does the error message say? Normally something along the lines of "near..."

Member Avatar for Vince_Cannon
0
660
Member Avatar for nikhita

You need to give a little more information - what do you want to do with the data? Display it in a table on a web page or just make a text backup?

Member Avatar for trochia
0
500
Member Avatar for CasTex

I see you are using [icode]ob_end_clean()[/icode] - that clears the Output buffers and turns off output buffering. I am not sure, but that might mean that your [icode]include 'all.php';[/icode] will not be used at all. Try removing that line - [icode]ob_end_clean();[/icode] - and then at the very end of your …

Member Avatar for almostbob
0
576
Member Avatar for elva.tanaem

Hi there You need to call your function / procedure with unit.procedure - [code] greet.Salute( ParamStr( index ) ) [/code] Hope that helps!

Member Avatar for elva.tanaem
0
325
Member Avatar for bbradley

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. Then to access the value in formTwo, you simply use formOne.editbox.text …

Member Avatar for jsosnowski
0
326
Member Avatar for angela1978

As your code currently stands, [icode]showResult(this.value)[/icode] is only going to use the value of the clicked select box. Each time you click one of the selects, it will only send [U]its[/U] value to the javascrit function and ignore the rest. I assume you want the values from all three to …

Member Avatar for RoryGren
0
112
Member Avatar for simps0n

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 included is set back to false. You just add an additional line …

Member Avatar for DevonMcC++
0
1K
Member Avatar for kevin wood

Something along the lines of [url]www.yourdomain.com/imagefolder/imagefilename[/url] should work.

Member Avatar for kevin wood
0
120
Member Avatar for andrew4545

Could be because there aren't any radio buttons ..... ;-) Not in this sample code anyway! You need to give a little more information.

Member Avatar for RoryGren
0
68
Member Avatar for spring_patel

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.

Member Avatar for phper
0
107
Member Avatar for ratnasatish

That query you have should work. I have just tried it on one of my databases and it ran with no problems.

Member Avatar for RoryGren
0
91
Member Avatar for 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 and SEX; MEET, with fields MEET (the record Id), and MNAME; RESULT, with …

Member Avatar for RoryGren
0
105
Member Avatar for queenc

Try giving your select element focus using onLoad in your BODY tag. That should automatically select the first option in the list. [icode]<BODY onLoad="mySelect.focus();">[/icode] You will need to give the select an ID. Alternatively you could add 'SELECTED' to your option tag when you populate the first option from your …

Member Avatar for nav33n
0
339
Member Avatar for 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 responses! I have been browsing this community for a few months as …

Member Avatar for Serunson
0
73
Member Avatar for yotamlem

Does Delphi 5 not do DateToStr() conversion? Sorry, I've only ever used D6 and D7 and that works.

Member Avatar for jsosnowski
0
87
Member Avatar for superseven

I think the dgn extension is for Bentley MicroStation or PowerDraft - CAD programmes. As far as I am aware, Delphi doesn't open them.

Member Avatar for RoryGren
0
70
Member Avatar for krish_kooll

I don't think you will be able to do that from mySQL. What scripting / programming language are you going to use?

Member Avatar for blater
0
101
Member Avatar for kusal
Member Avatar for john777

There shouldn't be a problem there. Use the same connection details for both domains.

Member Avatar for peter_budo
0
126
Member Avatar for justted

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 Output Buffer (ob) until it receives the ob_end_flush() command, whereupon it sends all …

Member Avatar for RoryGren
0
189
Member Avatar for kishou
Re: wth?

It could also be that you have set a custom error page for the 404 error and the server can't find that file.

Member Avatar for RoryGren
0
156
Member Avatar for Diode

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 and then delete the image if the order does …

Member Avatar for digital-ether
0
265
Member Avatar for Nessie
Member Avatar for Bunty1
Member Avatar for BartKobMan
Member Avatar for zandiago
0
41
Member Avatar for linux0id

It sounds like you need to UPDATE rather than insert. Insert is used when the row doesn't exist at all. Update is used when you want to change the value of one or more columns in an existing row. [code] UPDATE albums SET cover_path = [I]Your_Path[/I] WHERE albumID = [I]Your_Album_Id[/I] …

Member Avatar for linux0id
0
100
Member Avatar for kevin wood

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 username I entered, and I get the same error. Yet that user works …

Member Avatar for RoryGren
0
112
Member Avatar for avmaza

For the date drop downs, Google [B]date time picker[/B]. There are plenty of examples available using Javascript and php.

Member Avatar for nav33n
0
106
Member Avatar for RoryGren

Hi all The following query works and gives me the desired results. The only problem is that it is very slow, and I suspect it is because of the multiple sub-queries included in it. The table, RESULT, has multiple records per athlete, per stroke, per distance stored in the order …

Member Avatar for RoryGren
0
89
Member Avatar for mjdare

You can still use html in a php page. Your entire page could be normal html with just the file name having the php extension. It will appear exactly the same. Just create a normal html file in Dreamweaver. Don't worry about the php. Create your page with the image …

Member Avatar for RoryGren
0
61
Member Avatar for RoryGren

Hi all I'm self taught and relatively new to programming and have been battling with a TDBGrid's onMouseDown event in Delphi 7. Hopefully I'm missing something small and you masters out there will be able to enlighten me! I have a TVirtualStringGrid and TDBGrid on my form. I want to …

Member Avatar for RoryGren
0
2K
Member Avatar for stp123

For your second error - php is trying to send output to the http server where the page has already been set up... or something along those lines;-) Wrap your whole page in ob_start() .... ob_end_flush(). What that does is to hold all the php output in its Output Buffer …

Member Avatar for RoryGren
0
105
Member Avatar for Dsiembab

Hi there I think you just need a little javascript routine that reads the image files inside the head part of your page. This will cause the images to be read by the browser before the rest of the page is and they will thus be ready when the page …

Member Avatar for Dsiembab
0
94
Member Avatar for suren66

I have had that too, but with php 4. I solved it by using the tags [inlinecode]<?php ... /?>[/inlinecode] instead of the [inlinecode]<? ... /?>[/inlinecode] Try that and see - it might be a setting somewhere in your config file. Maybe one of the php boffins here will be able …

Member Avatar for fatihpiristine
0
137

The End.