1,317 Posted Topics

Member Avatar for jacob21

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]?

Member Avatar for chrishea
0
46
Member Avatar for Joshua Kidd

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.

Member Avatar for chrishea
0
113
Member Avatar for LloydFarrell

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.

Member Avatar for chrishea
0
109
Member Avatar for jacob21

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.

Member Avatar for jacob21
0
253
Member Avatar for dan72ros

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 …

Member Avatar for chrishea
0
133
Member Avatar for OldDeveloper01

[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]

Member Avatar for chrishea
0
95
Member Avatar for puvi

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.

Member Avatar for puvi
0
89
Member Avatar for BBoz

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 …

Member Avatar for chrishea
0
77
Member Avatar for erza26

Have a look at [URL="http://innovationsdesign.net/wb_2.7/pages/tech-resources/php-help.php#question_12"]this.[/URL]

Member Avatar for erza26
0
76
Member Avatar for Cece Skies
Re: PHP

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 …

Member Avatar for chrishea
0
103
Member Avatar for Chubbymouse

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] …

Member Avatar for gokhanfil
0
164
Member Avatar for ahsan1

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.

Member Avatar for chrishea
0
98
Member Avatar for ediddy02
Member Avatar for ditty

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 …

Member Avatar for holy-food
0
162
Member Avatar for emhmk1

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. …

Member Avatar for emhmk1
0
174
Member Avatar for Sarama2030

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 …

Member Avatar for dottomm
0
171
Member Avatar for McLaren

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 …

Member Avatar for McLaren
0
147
Member Avatar for aya_may

... 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]

Member Avatar for chrishea
0
93
Member Avatar for suavedesign

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 …

Member Avatar for chudapati09
0
75
Member Avatar for mehran tahir

Why aren't you posting your questions on the [URL="http://forum.parallels.com/forumdisplay.php?f=530"]Plesk / Modernbill forum[/URL]?

Member Avatar for mehran tahir
0
152
Member Avatar for dr.4030

[url]http://lmgtfy.com/?q=http%3A%2F%2Fwww.catchmyfame.com%2F2007%2F07%2F28%2Ffinally-the-simple-pagination-class%2F[/url]

Member Avatar for tomato.pgn
0
73
Member Avatar for ggeoff

OK, so go for it. Maybe you'll want to go to the documentation and look up "file_exists".

Member Avatar for diafol
0
211
Member Avatar for Awah Mohamed

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 …

Member Avatar for 84hd0ns
0
769
Member Avatar for agriz

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 …

Member Avatar for chrishea
0
93
Member Avatar for lf.gene

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 …

Member Avatar for diafol
0
274
Member Avatar for chrishea

[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 …

Member Avatar for smantscheff
0
144
Member Avatar for debasisdas

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 …

Member Avatar for VernonDozier
0
203
Member Avatar for Rik_

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 …

Member Avatar for Rik_
0
493
Member Avatar for Kajeana

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 …

Member Avatar for diafol
0
130
Member Avatar for senthamilgsa

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.

Member Avatar for smantscheff
0
189
Member Avatar for mbarandao

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 …

Member Avatar for chrishea
0
2K
Member Avatar for Arsench

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]

Member Avatar for rpv_sen
0
159
Member Avatar for tcollins412

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, …

Member Avatar for tcollins412
0
114
Member Avatar for asif49

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 …

Member Avatar for chrishea
0
73
Member Avatar for azegurb

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.

Member Avatar for azegurb
0
114
Member Avatar for puvi

$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 …

Member Avatar for puvi
0
2K
Member Avatar for aithabuddy

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).

Member Avatar for aithabuddy
0
216
Member Avatar for yorro

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]

Member Avatar for yorro
0
228
Member Avatar for crazycat503

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 …

Member Avatar for chrishea
0
52
Member Avatar for navdeep7489

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 …

Member Avatar for chrishea
0
114
Member Avatar for Kniggles

You should explain why you are including counter.php twice and show us the code.

Member Avatar for Kniggles
0
138
Member Avatar for amazed

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 …

Member Avatar for amazed
-2
141
Member Avatar for aaraf

Post should work every time. You will need to provide a lot more info before anyone would have a chance of helping you.

Member Avatar for chrishea
0
118
Member Avatar for kuteinheart

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?

Member Avatar for jessica007
0
6K
Member Avatar for frogboy77

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 …

Member Avatar for jon.kiparsky
0
269
Member Avatar for veledrom

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.

Member Avatar for rpv_sen
0
118
Member Avatar for 68thorby68

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 …

Member Avatar for 68thorby68
0
1K
Member Avatar for klemme

What is [B][I]method=\"$_GET\">"[/I][/B] supposed to be? Why aren't you using a simple [I][B]method=get[/B][/I]?

Member Avatar for klemme
0
170
Member Avatar for BlueCharge

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 …

Member Avatar for diafol
0
389
Member Avatar for baig772

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]

Member Avatar for TommyRay
0
66

The End.