- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 4
- Posts with Upvotes
- 4
- Upvoting Members
- 4
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Software development and support
- PC Specs
- Apple MacBook Pro 17"
52 Posted Topics
Re: You are also going to have to use a database to store the users' information ... | |
Re: You have come to a good place! Everybody here is always very helpful and friendly! Welcome! | |
Re: Try running the query on a query tool like mySQL Workshop using a valid value for your variable and see if it runs. | |
Re: 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. | |
Re: Something like this? `<select onchange="alert(this.value)">` | |
Re: Have you tried `overflow: auto;` in your .sliderbox class? | |
Re: 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! | |
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 … | |
Re: 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. | |
Re: You will have to re-populate the select options in the list box when you click the delete button - reload the page. | |
Re: How about putting something like if ($adate != '') {... into your foreach loop so that it only inserts if $adate has a value? | |
Re: 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. | |
Re: 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))> | |
Re: 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 " "; } echo "</td>"; | |
Re: Hi Kevin What else does the error message say? Normally something along the lines of "near..." | |
Re: 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? | |
Re: 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 … | |
Re: Hi there You need to call your function / procedure with unit.procedure - [code] greet.Salute( ParamStr( index ) ) [/code] Hope that helps! | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: Something along the lines of [url]www.yourdomain.com/imagefolder/imagefilename[/url] should work. | |
Re: Could be because there aren't any radio buttons ..... ;-) Not in this sample code anyway! You need to give a little more information. | |
Re: 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. | |
Re: That query you have should work. I have just tried it on one of my databases and it ran with no problems. | |
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 … | |
Re: 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 … | |
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 … | |
Re: Does Delphi 5 not do DateToStr() conversion? Sorry, I've only ever used D6 and D7 and that works. | |
Re: I think the dgn extension is for Bentley MicroStation or PowerDraft - CAD programmes. As far as I am aware, Delphi doesn't open them. | |
Re: I don't think you will be able to do that from mySQL. What scripting / programming language are you going to use? | |
Re: There shouldn't be a problem there. Use the same connection details for both domains. | |
Re: 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 … | |
Re: It could also be that you have set a custom error page for the 404 error and the server can't find that file. | |
Re: 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 … | |
Re: 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] … | |
Re: 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 … | |
Re: For the date drop downs, Google [B]date time picker[/B]. There are plenty of examples available using Javascript and php. | |
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 … | |
Re: 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 … | |
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 … | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … ![]() |
The End.