1,317 Posted Topics
Re: The reason for your problem isn't clear (at least to me). If you have a value from the DB then you format it. If you don't, then you make the field blank. You then use the result as a value in a type=text field and you should have the right … | |
Re: You might want to consider reliability as well. Use the link below for a page that provides some comparisons. Toshiba is one of the best, HP is the worst. I have an HP laptop that is almost three years old, has already had a number of repairs and is currently … | |
Re: If you want help on this, I suggest that you be specific about the error and what you have already tried in terms of isolating / resolving it. It isn't reasonable to just dump a bunch a code into a post and ask other people to do your debugging. You … | |
Re: It depends. Based on how you stated the question, the answer could be as simple as: [code=php] echo "http://... email.php"; [/code] If you have other requirements or limitations, please state what they are. | |
Re: You can use: [code=php] print_r ($_POST); [/code] Just to be sure what it is receiving. If it is there as you believe then you can check line by line after that (echo'ing values where necessary) to see that it is what you expected. | |
Re: Could be motherboard. See the link below: [URL="http://www.techsupportforum.com/hardware-support/laptop-support/240467-gateway-laptop-wont-boot.html"]laptop won't boot[/URL] The suggested simple test to know if it is or isn't: If you want to find out if it’s your motherboard... -unplug hard dive -unplug ram -unplug CD rom -then hit the power button If the motherboard is working correctly … | |
Re: You didn't provide much info so it is difficult to understand exactly what you need or what isn't acceptable. If you are trying to physically connect with a local fax machine from your PC you might have more of a challenge than just PHP. You don't say why Interfax or … | |
Re: I tried your loop and I got three hits. The code I used was: [code=php] <?PHP $maand = array("11","11","11"); $dag = array("2","4","7"); $jaar = array("2007","2007","2007"); $expert = 265839; for ($i = 0; $i <= 2; $i++){ $url = 'http://contests.covers.com/sportscontests/picksByDate.aspx?date=' . $maand[$i] .'/' . $dag[$i] . '/' . $jaar[$i] .'&ur=' . … | |
Re: If you are looking for something to make the mailing part easy, have a look at the Libmail class: [URL="http://lwest.free.fr/doc/php/lib/index.php3?page=mail&lang=en"]libmail[/URL] | |
Re: Cell phone providers allow you to send to send SMS messages to cell phones by using a format of the form [email]nnnnnnnnnn@telco.com[/email] where nnn... is the cell phone number and telco.com is the specific website address for the telephone company in question. This means that you need to know the … | |
I'm a PHP guy so I still struggle with Javascript. The answer to this is probably easy. I need to add some animation effects and I'm experimenting with JQuery [B]animate[/B]. The sample routine is set up to run when you click on the Run link. I want to change the … | |
Re: Have a look at these systems: [URL="http://www.sourcecodeonline.com/list?q=php_restaurant_reservation_script"]http://www.sourcecodeonline.com/list?q=php_restaurant_reservation_script[/URL] | |
Re: Php has some specific commands (fgetcsv fputcsv) to read and write csv files. If you have spreadsheet data that you want to upload, it is somewhat simpler to upload and read it as CSV than it would be to read it as an XLS file. You can also create a … | |
Re: This site goes at least part way: [URL="http://geocoder.ca/"]http://geocoder.ca/[/URL] | |
| |
Re: That should work fine. I have done this sort of thing to prevent a double definition of a function as in: [code=php] if (!function_exists('abc')) { function abc() { ... } } [/code] | |
Re: What you may want is one or more Accordion sections that open when you click on the header. Have a look at [URL="http://docs.jquery.com/UI/Accordion"]this page. [/URL]It has an example so you can see if that's what you want. If so, there is some code there you can use. | |
Re: Start-up problems where the system won't get through the POST process are usually caused by some sort of hardware issue. Hibernation and maybe being in the middle of the update restart process may complicate it. I have an HP laptop and my problem started when I put it into hibernation … | |
Re: There are lots of resources out there so you just have to do a bit of searching. The link below leads to a lot of programs in this general category. You may find one that does exactly what you want but if not, you can probably use one of them … | |
Re: Using PHPMyAdmin is the easiest way to do it. If you need to have customized processing then you can try the Google Excel reader at: [URL="http://code.google.com/p/php-excel-reader/source/browse/trunk/excel_reader2.php?spec=svn5&r=5"]excel_reader2[/URL] | |
Re: Making variables available across different modules like this is best done using session variables. | |
Re: Assuming that the new image would show when the next person gets to the specific page (or pages), then you probably need Cron or something like that to trigger a (PHP) program that would set an indicator / name for which image to use. The indicator would have to be … | |
Re: I suggest that you 'explode' the string and then check that the parms exist in the array that is created. | |
Re: Unfortunately, this isn't an urban legend. If you look at Big Pharma as a business looking to maximize their profits and dominate the market, it makes sense that they would try to control the natural food market for their own benefit. That is what appears to be happening. They have … | |
Re: It will be quicker for you to use the paypal class than to figure out what is wrong with your code. If you had provided all of the code set up to use the PayPal sandbox then it would be easy to take that code and duplicate the error. What … | |
Re: Even most lawyers like lawyer jokes so don't take any of these too personally. Here's a couple more: A man walked into a bar with his alligator and asked the bartender, "Do you serve lawyers here?". "Sure do," replied the bartender. "Good," said the man. "Give me a beer, and … | |
Re: Try this: [URL="http://innovationsdesign.net/wb_2.7/pages/tech-resources/downloads/desktop_write.php"]desktop_write[/URL] | |
![]() | Re: You may find that this helps to make it easy: [URL="http://www.micahcarrick.com/04-19-2005/php-paypal-ipn-integration-class.html"]php-paypal-ipn-integration-class[/URL] |
I have been documenting my laptop problem in the Vista forum [URL="http://www.daniweb.com/forums/thread204104.html"](ref)[/URL] but it seems that maybe the problem belongs here. The system is almost dead even though there is a way I can break out of it. In a nutshell, there is something wrong at the POST stage that … | |
Re: Are you using a secured page (Https)? If so, then apparently is isn't passed. | |
Re: I think that you may have a better chance if getting help on the Argo Forum. You can try the link below to see if the advice helps with your situation. The message is the same even though the error code is different. [URL="http://www.argostuff.com/Forums/tabid/55/forumid/1/tpage/1/view/topic/postid/3460/Default.aspx#3474"]Argo Forum[/URL] | |
Re: You haven't provided too much detail. You have to look at the obvious first. You haven't indicated what investigation you have already done. If you are trying to upload into this directory, you need to define it with write access. If you are getting a 404 error, chances are that … | |
Re: I have used re-directs without any problem that I'm aware of in any of the browsers. I use them on a couple of sites that re-direct in the initial index module to a sub-domain so it gets used a lot. In my case, I used a version of the following … | |
Re: See my latest [URL="http://www.daniweb.com/forums/thread205806-2.html"]post[/URL]. Your symptoms are a bit different but you can try what I've been doing to see if it works. | |
Re: 500 errors can be difficult to debug. You may want to contact your web host and see if they can give you any more info from their logs. | |
Re: Creating output files in most of these formats isn't that difficult. To make it even easier, I created a small include module that you can use. You can download it at: [URL="http://innovationsdesign.net/wb_2.7/pages/tech-resources/downloads/desktop_write.php"]Desktop_Write[/URL] | |
Re: If you aren't even getting to the initial (HP) screen then it is probably a hardware problem. It never gets past the initial hardware status tests and it aborts the boot and then tries to restart. This is all too common on HP laptops. For my experience with this problem … | |
Re: Change your mysql_db_query to a mysql_query with the query string as the only parm. It will use the DB that you selected. | |
Re: I tried a number of them and ended up with Sun Netbeans (which now does PHP and other languages not just Java). | |
I've done some research on this and I haven't found any really good suggestions. Here's the summary: [LIST]HP dv9000 laptop with Vista (updated regularly). [/LIST] [LIST]No recent changes - was working fine[/LIST] [LIST]Put it into hibernate mode[/LIST] [LIST]Tried to restart it the next morning and it woudn't start. All the … | |
Re: Yahoo has an API that will should allow you to extract address info. [URL="http://developer.yahoo.com/mail/"]http://developer.yahoo.com/mail/[/URL] I'm sure that if you do a search you'll find the others (at least Google). | |
Re: I ran your code through my interpreter and I didn't get an error. Is it possible that you are running on PHP 4? I believe that try and catch are PHP 5 only. | |
Re: I have used this little routine to create a unique (ascending) sequence number for registrations. These aren't random, they are very predictable. If you are using the number as a unique reference number, then this is probably what you want to do. It uses a text file so you don't … ![]() | |
Re: With the ob_start statement, the echo statements shouldn't be a problem however, they are redundant. Try putting an ob_end_clean() before the header statements to clear the buffer and turn off the buffering. You could do the same thing with forms or buttons but it would require user intervention so this … | |
Re: Since PHP is interpreted at run time, you don't need to go through any sort of compilation process before putting it on a server or zipping it to make it available for download. Generally, what is working under Xampp should also work on a linux server. Some applications have install … | |
Re: If your problem is how to select the appropriate record from a (MySQL) database, then you could use: [code=sql]Select * from table1 where date like '%-$mm-%'[/code] To select a specific month. | |
Re: How about: [CODE] <?PHP while($row=(mysql_fetch_array(result)) { echo " <td>$row['photo']</td><td>$row['info']</td> "; if ($row=(mysql_fetch_array(result)) { echo " <td>$row['photo']</td><td>$row['info']</td> "; } echo "</tr>"; } ?> [/CODE] I find it messy to go in and out of PHP so I modified it to make it all PHP. | |
Re: To verify what is working at each step, you can use get_defined_vars(); to dump the variables to see what is defined and what isn't. You can experiment until it works. | |
Re: Read this article and see if it helps: [URL="http://www.devshed.com/c/a/PHP/Generate-PDF-Documents-with-PHP-on-the-Windows-Platform/"]article[/URL] | |
Re: If you are trying the process the code as data then you will probably want to use file_get_contents and file_put_contents to read and write the php file as if it were data. You will then probably want a table of fields to check for and then scan the string read … |
The End.