1,317 Posted Topics
Re: It seems as if this is your second post for the same problem. Is this any different from [URL="http://www.daniweb.com/web-development/php/threads/359515"]this one[/URL]? | |
Re: If you want a separate read of another table, then define the select statement and use a mysql query with another variable as in: [code=php] $result2=mysql_query($sql); [/code] In the subsequent code for that query, you will refer to $results instead of $result. | |
Re: Since you are trying to include it into some PHP code, you don't need the <?PHP or ?> just the require statement itself. You only need to use <?PHP ... ?> when you are inserting some PHP code into (raw) HTML statements. | |
Re: I just tried a query in phpmyadmin with a '&' in the query and it accepted it just fine. I don't have any data with an & in the data so I didn't get any results but it did accept it. | |
Re: I'm not going to write the code for you but let me suggest that it is simple enough to generate a series of check boxes with appropriate labels in a while loop based on your input / database / table or wherever you are keeping the details of the options … | |
![]() | Re: [URL="http://innovationsdesign.net/wb_2.7/pages/tech-resources/php-help.php#question_14"]http://innovationsdesign.net/wb_2.7/pages/tech-resources/php-help.php#question_14[/URL] |
Re: I use HTML2PDF which provides a simple interface and it takes care of the details. I believe that the older version used fpdf. The newer one [URL="http://html2pdf.fr/en/default"]here[/URL] uses tcpdf and works pretty well. | |
Re: Since you have limited experience, you might want to find someone who does have business and website experience who can review your idea and provide you with some feedback. If it is going to be a large project, then you will want to create a realistic plan with respect to … | |
Re: Have a look at [URL="http://innovationsdesign.net/wb_2.7/pages/tech-resources/php-help.php#question_12"]this.[/URL] | |
Re: You are looking at this the wrong way around. If you don't understand what PHP is used for, then what is your logic in wanting to incorporate it into your website? Unless your intent is just to learn another language, it is a matter of looking at requirements and then … | |
Re: I think that you have three choices. 1. If there is some common factor that links these records together in the database, then you can use that as a selection criteria. 2. If you can collect your criteria before issuing the select, then it can be in the form: [code] … | |
Re: You might want to re-post the code using code-tags. It is difficult to make any sense of code posted the way you have done it. | |
Re: Why are you resurrecting a thread which is now 2 months old? | |
Re: There are some tags that it doesn't like (e.g. <center>, <tt>,<title>,<meta>,<outline>) and the rest must be closed where possible. As an example, if you create a table and use <tr> or <td> without closing </tr> or </td> tags, it won't work. It may look fine as HTML but you can't … | |
Re: I think that you need to provide a bit more detail. When the user uploads the file, why aren't you converting it immediately (and just out of interest what are you converting from and to). The simplest version is to let them wait unless the wait time is very long. … | |
Re: It sounds as if you are trying to manually configure everything but that is the hard way to do it. There are quite a number of packaged solutions that install the LAMP stack for you and synchronize everything together. You can get more info [URL="http://innovationsdesign.net/wb_2.7/pages/tech-resources/php-help.php#question_6"]here[/URL]. You don't need IIS in … | |
Re: First thing that you might want to do is to log all the pertinent info when you delete anything. The second thing that you might want to do (at least for a while) is to do a soft-delete instead. Just mark the record as deleted or save a copy under … | |
Re: ... which you can find [URL="http://www.daniweb.com/forums/faq.php?faq=daniweb_policies"]here[/URL]. and exlicitely: [B]Do provide evidence of having done some work yourself if posting questions from schoolwork assignments[/B] | |
Re: You also have an issue that your page doesn't scale to the screen size and the minimum width is pretty wide. On my screen (1366 wide) I have to scroll horizontally to get to the right side of the page while you have unused gray space on the left and … ![]() | |
Re: Why aren't you posting your questions on the [URL="http://forum.parallels.com/forumdisplay.php?f=530"]Plesk / Modernbill forum[/URL]? | |
Re: [url]http://lmgtfy.com/?q=http%3A%2F%2Fwww.catchmyfame.com%2F2007%2F07%2F28%2Ffinally-the-simple-pagination-class%2F[/url] | |
Re: OK, so go for it. Maybe you'll want to go to the documentation and look up "file_exists". ![]() | |
Re: In order to track users, you'll need some sort of logon process. The previous post provides a low-end approach to doing this. This may satisfy your needs, otherwise you'll want to look at using a database to keep the user information, including their login status. You need a process to … | |
Re: In general, I found the Paypal documentation to be pretty good. If you read it carefully, you will probably find most of the answers. I have never used recurring payments so I can't say anything about that. See the link below for info on a module you can use for … | |
Re: Yes, you could use some php to read a database and plug values into the html but as per Ardav's note, it has to be done on the server side. You can't have Javascript talking directly to the database. If all you want is database data plugged in, then no … ![]() | |
[URL="http://www.appcelerator.com/"]Titanium[/URL] is an open source package that brings a bunch of development options together into one place. It allows you to take one set of code and deploy it on: [LIST] [*]Windows [*]Linux [*]Mac [*]Android [*]Iphone [/LIST] Even better, you don't need to learn a new language. The development is … | |
Re: There are just too many students and other newbies who want you to do it for them rather than make some effort, do the research and give it a decent try before asking for help. It adds some traffic to Daniweb but it does nothing for the quality of the … | |
Re: I am using AVG with Win 7 64-bit Home Premium on an ASUS laptop (2100mhz dual core). I've been running it for almost a year on this system and I haven't had any obvious problems. The system starts a bit slow compared to what it was at the start but … | |
Re: My concern would be your statement "I am a beginner web developer with not much code experience". This isn't a beginner project. If you can download a full folder and just have them start using the new version that wouldn't be too hard. If you want to update the existing … ![]() | |
Re: If you see the php code when you try to execute the module then the most likely cause is that you didn't save the module with a .php suffix. If that is the case, change the suffix and try again. | |
Re: Converting to PDF isn't too difficult: [url]http://html2pdf.fr/[/url] You will need to save your output into a variable and then pass it to HTML2PDF to convert it. Saving to MySQL is up to you. Saving to a file is probably a bit simpler. If you need to save it to a … | |
Re: It isn't difficult. Click on the link below for the details: [URL="http://innovationsdesign.net/wb_2.7/pages/tech-resources/php-help.php#question_11"]http://innovationsdesign.net/wb_2.7/pages/tech-resources/php-help.php#question_11[/URL] | |
Re: I don't understand how you have this configured. Normally sub-domains are entirely separate and don't share the same code. You could have parked domains pointing to another domain and then they would all be treated the same and share the same code but that is entirely different. In that case, … | |
Re: It would be simpler to use 90 days than three months. If you have today's date (as a timestamp), calculate 90 days in seconds, add that to today's date, then compare the result to the timestamp for the date they entered; that will tell you if it is beyond 3 … | |
Re: It appears that there should be another program that has a form and does a POST to this program. This program is processing the POST information that was sent to it. | |
Re: $strcontent (line 8) can be any html (including the html that you are creating dynamically). The html2pdf examples read example files as the input but there is no requirement to do it that way. In your code, as you create lines of output, append them to $strcontent until it has … | |
Re: Please clarify what "...but it's not working for auto generated emails from some email addresses." means (with some examples of what works and what doesn't). | |
Re: See the link below for info on both: [URL="http://innovationsdesign.net/wb_2.7/pages/tech-resources/php-help.php#question_9"]http://innovationsdesign.net/wb_2.7/pages/tech-resources/php-help.php#question_9[/URL] | |
Re: If it's on a Windows server then maybe. Unless it's your own server, your web hosting company would need to be involved and they probably wouldn't agree. You could try it locally by defining it as a PHP extension in the php.ini file but it might not be compatible with … | |
Re: You may find these benchmarking results interesting. [URL="http://www.webperformance.com/library/reports/windows_vs_linux_part2/"]http://www.webperformance.com/library/reports/windows_vs_linux_part2/[/URL] 1000 simultaneous requests is a pretty big number. Is this a real problem or is this a theoretical question? If you have that much traffic, then your operation should be big enough to pay for experts to advise you on performance. If … | |
Re: You should explain why you are including counter.php twice and show us the code. | |
Re: Your question is a bit unclear. What you seem to want to do probably isn't possible. If you are seriously asking how to interpret a bunch of bits in a graphic file and determine what it is then that would require some pretty serious artificial intelligence. Maybe the CIA has … | |
Re: Post should work every time. You will need to provide a lot more info before anyone would have a chance of helping you. | |
Re: I think that you need two select buttons and process them one at a time; or; make the two forms into one. Why does the date picker need to be a separate form? | |
Re: The simple answer is "YES". The only reward is that you have helped someone else and shared the benefit of your experience. Occasionally, you get a thank you. What can be frustrating is to put time into providing a good answer and that's the last thing that happens on that … | |
Re: There are different versions of HTML2PDF. If you look at [URL="http://www.html2pdf.fr/en/default"]this one[/URL], you'll find that it does include a <page_header> and <page_footer> command and they can include images. | |
Re: It might be simpler to keep using the Perl scripts as they are. Have a look at the link that provides info on using the PHP and Perl together. Never tried it but it might be a viable option. [URL="http://devzone.zend.com/article/1712"]http://devzone.zend.com/article/1712[/URL] Here is a translation guide in case you want to … | |
Re: What is [B][I]method=\"$_GET\">"[/I][/B] supposed to be? Why aren't you using a simple [I][B]method=get[/B][/I]? | |
Re: You can write it out using any of the File functions (e.g. file_put_contents) under a a temp name ending with a .php suffix. You should probably be putting it in a separate folder just for that purpose. You can give the user a link to that temp program file. If … ![]() | |
Re: This is an easy alternative that doesn't require a bunch of specialized PDF statements. [URL="http://www.html2pdf.fr/en/default"]http://www.html2pdf.fr/en/default[/URL] |
The End.