1,317 Posted Topics
Re: Most questions aren't new. You can often find an answer by searching this site or by doing a web search. Here is one thread that provides some references: [URL="http://www.daniweb.com/forums/thread212322.html"]http://www.daniweb.com/forums/thread212322.html[/URL] | |
![]() | Re: Some might say that there are no new questions! You need to look at the source of the page. Somewhere along the way, some <p> or <br> commands have probably been inserted. If it's not that, then something else has been done to position the top of the page. |
Re: I think that what you need is something to sort a 2 dimensional array. I don't think that the standard sort functions do that. I had the same need a couple of years ago so I read the documentation and came up with a function that does the job. It … | |
Re: Your If statements should be in the form: [CODE=php] if(isset($id) && $id == benelli){ [/CODE] Notice the == to test for equality. A single = in an IF will act the same as a statement like $a = $b; | |
Re: Your question isn't very clear. An answer could be as simple as: [CODE=php] $mth++; [/CODE] What you need is probably more complicated but your question needs to be more specific (maybe with some code that you tried that didn't work). ![]() | |
Re: You need a program that will do a PHP error check for you. There are many of them, Netbeans is one example. When you get a blank screen it usually means that you have a PHP error (assuming the program is supposed to display something). In this case, when you … | |
Re: It sounds as if you need to do some screen-scraping. See this previous post for some references. | |
Re: [URL="http://www.w3schools.com/php/php_mysql_update.asp"]http://www.w3schools.com/php/php_mysql_update.asp[/URL] | |
Re: Looking at your code, I would expect that it would put the last $ipath that you read in the while loop into the text field. The user chooses a link from the list to put the image into the iframe but you don't have the same dynamic action happening for … | |
Re: If you have variables containing these values, then you need to include some hidden input variables (<input type=hidden ...) in your form and set the values to the variables with the email and userid. Your backend update will need to include these variables in the mysql insert. | |
Re: It displayed exactly as you defined it. If you want the data in columns, then don't use a <tr><td> before every field, just use <td>. Every time you echo a <tr> you get a new line. | |
Re: OK, so your MySQL Select should be ordering by country and then town and you probably need some while loops to detect when the town changes and when the country changes. You will have to get beyond just echoing what is in the database and write some code to determine … | |
Re: The easiest starting point is to echo your select statement, copy it and try it in PHPMyAdmin. You may find that it needs a change and you can experiment in PHPMyAdmin then make the appropriate changes in your program. ![]() | |
Re: HTML2PDF can do that. You may have to tweek your html a bit but it's a lot easier than adding custom pdf commands. More Info Here: [URL="http://innovationsdesign.net/wb_2.7/pages/tech-resources/downloads/html2pdf.php"]http://innovationsdesign.net/wb_2.7/pages/tech-resources/downloads/html2pdf.php[/URL] | |
Re: if you are a computer science student then you need to learn to do research. The internet and sites like this make it so easy. If you do a Google search or search this site, you will find some pertinent references. This is a bit old but it sounds like … | |
Re: Creating a Word file isn't difficult but I don't think that you will be able to create a header and footer. To create the file try this: [URL="http://innovationsdesign.net/wb_2.7/pages/tech-resources/downloads/desktop_write.php"]http://innovationsdesign.net/wb_2.7/pages/tech-resources/downloads/desktop_write.php[/URL] | |
Re: If someone here doesn't have an answer, I suggest that you call the PayPal support people. The most obvious reason would be that the amount is wrong and you are trying to refund a total that is more than the amount of the original transaction but it probably isn't that … | |
Re: Seems simple enough. If you keep track of the name of the latest file (in a database or a flat file), then you get that name and insert it as an <img statement into the appropriate place on your home page (assuming that it's in PHP or that you can … | |
Re: You don't provide much info so all we can do is speculate. You should echo your insert statements. For the one that is getting an error, check the key against what is already in the table and you will probably find that there is already a record with that key … ![]() | |
Re: You can put an IF ahead of the Function statement. You just need a parm somewhere to drive the IF. I don't think however; that will give you what you want. If you leave the calls to the Function in your code and it isn't defined, you'll get an error. … | |
Re: The site isn't working. Nothing to do with you. | |
Re: I'm not going to write the code for you but it seems pretty straightforward: Open the input file (fopen) Open an output file Read a record (fgets) compare specified user name with the record content if it's equal skip it read the next record and skip that too else write … | |
Re: [URL="http://forums.devshed.com/php-development-5/crystal-report-in-php-344617.html"]http://forums.devshed.com/php-development-5/crystal-report-in-php-344617.html[/URL] | |
Re: You need to do a bit of debugging. You need to know what the value of $_POST[action] is when it goes to the ELSE. You can echo the value so you'll know. If this is a fragment of your code and if you have a form that drives this code … | |
Re: I don't understand your wish to keep using Dreamweaver and avoid using the CMS templates. All of the CMS's that I am familiar with have templates that provide the front-end look and the interface to the rest of the system. The free ones generally use some combination of php, html … | |
Re: If you want information, you can get a bunch of references from a Google search (for example this one: [URL="http://www.videowhisper.com/?p=PHP+Video+Conference"]http://www.videowhisper.com/?p=PHP+Video+Conference[/URL]) What you might get here if anyone has done it, is a recommendation on what works and / or what doesn't. | |
Re: Normally, with pure PHP you will re-display the whole page with information changed where appropriate. This would normally be as a result of the user clicking on a button or link on the page. If you want to re-display just a section of the page without refreshing the whole page … | |
Re: If you are using a web hosting service(a virtual server) then everything should be set up and it will work if you code it correctly. If you are running on your own local server using WAMP or EASYPhp or another similar test environment, then you won't have a mail server … | |
Re: Have a look at this post. I provided some references. [URL="http://www.daniweb.com/forums/thread288717.html"]http://www.daniweb.com/forums/thread288717.html[/URL] | |
Re: You'll need to use javascript and I suggest using jQuery which makes it easy.Here is an example. You can search and find others if you don't like this one. [URL="http://www.kelvinluck.com/assets/jquery/datePicker/v2/demo/"]http://www.kelvinluck.com/assets/jquery/datePicker/v2/demo/[/URL] | |
Re: Have a look at this: [URL="http://www.daniweb.com/forums/thread194522.html"]http://www.daniweb.com/forums/thread194522.html[/URL] | |
Re: It's possible that it has been disabled. There are two other approaches that you can use to make a local change without making it global: You may be able to use a local php.ini file in the same directory as the program doing the upload (I can do this on … | |
Re: If you want to dump an online (html) report to excel it's pretty easy. My little utility module is set up to save to various formats. You can see the details and do a download [URL="http://innovationsdesign.net/wb_2.7/pages/tech-resources/downloads/desktop_write.php"]here[/URL]. It won't be totally automated as you will need to click on a link … | |
Re: This isn't an easy question to answer. In some ways using one of the frameworks might make the designing easier but you do need to spend some time learning how to use the framework. I learned PHP about 7 years ago. Previously to that, I did a lot of programming … | |
Re: You should look at using a CMS that has most of the work done for you. | |
| |
Re: Have a look at: Dapper: [URL="http://www.dapper.net/open/"]dapper[/URL] [URL="http://www.screen-scraper.com/"]http://www.screen-scraper.com/[/URL] class_http: [URL="http://www.troywolf.com/articles/php/class_http/"]http://www.troywolf.com/articles/php/class_http/[/URL] | |
Re: Is there any point to this post? There are many sites "rating" web hosting providers. Many probably list the ones who pay them. Here is one more with some different hosting companies shown. I think this one may be more accurate than the other one suggested. I use the top-rated … | |
Re: if you make it a small form then just include a "<input type=hidden ... for the id. | |
Re: The first thing I would try is to put it back in the primary slot and try it again. Sometimes, re-seating it is enough to have it recognized. I am surprised that you can't get into the bios and change the boot order. If you have another boot-able drive you … | |
Re: Building a serious CMS is a pretty major task. If you are doing it for fun and as a learning exercise and you have a lot of time available then go for it. If you are aiming to have something that you can actually use in a reasonable period of … | |
Re: 1.If your id and pw are always meant to be in lower case, then it is easy enough to convert them with strtolower. If you allow a mix then you may need some javascript to check if the Caps Lock key is on. [URL="http://www.wallpaperama.com/forums/how-to-detect-if-caps-lock-from-users-with-javascript-and-php-uppercase-typing-t1422.html"]http://www.wallpaperama.com/forums/how-to-detect-if-caps-lock-from-users-with-javascript-and-php-uppercase-typing-t1422.html[/URL] 2. In a simple / traditional … | |
Re: I have used HTML2PDF quite successfully for copying schedules to PDF files. I had to tweek the html a bit at the start but it has been working like a charm for quite a while now. I have added my notes on it [URL="http://innovationsdesign.net/wb_2.7/pages/tech-resources/downloads/html2pdf.php"]here[/URL]. | |
Re: Have a look at this: [URL="http://www.addictivetips.com/windows-tips/free-microsoft-project-20102007-online-viewer-mpp-viewer/"]http://www.addictivetips.com/windows-tips/free-microsoft-project-20102007-online-viewer-mpp-viewer/[/URL] | |
Re: I have been using a lesser known CMS for quite a number of years now because I find it much easier to set up and use than other (better known) CMS's like Joomla, Drupal, Mambo or Wordpress. I have built sites for clients with this CMS and they have been … | |
Re: You have an option on Google Checkout to send an invoice from your account without creating any custom code: [URL="http://www.google.com/support/forum/p/checkout-merchants/thread?tid=0593f4cbc81cd488&hl=en"]http://www.google.com/support/forum/p/checkout-merchants/thread?tid=0593f4cbc81cd488&hl=en[/URL] If you need the code because you need to integrate it with something else, then I'm sure that Google has sample code that you can use. | |
Re: See the links for some reader options. [URL="http://www.ajaxonomy.com/2008/web-design/web-based-pdf-viewer"]http://www.ajaxonomy.com/2008/web-design/web-based-pdf-viewer[/URL] [URL="http://davidwalsh.name/read-pdf-doc-file-php"]http://davidwalsh.name/read-pdf-doc-file-php[/URL] | |
Re: You could easily do it manually with an FTP program but if your objective is to make it automated, then you can read and write a php module using file_get_contents and file_put_contents (or fopen, fread and so forth if you want to use the more complicated approach). ![]() | |
Re: You can create the report as an html report and then write that to a PDF using HTML2PDF. You have to be a little be careful with the html that you create but in the end, I think that it is simpler than having to explicitly create the PDF yourself. … | |
Re: If it won't Post it normally means some kind of hardware problem. You won't get beep codes. In this situation, it usually sits there for a while with the power on and then it restarts itself (and does this over and over until you kill it). When you tried the … |
The End.