Search found 193 matches
- Mon Mar 14, 2011 1:49 pm
- Forum: PHP - Code
- Topic: Selecting All From Database - Isnt Selecting All :(
- Replies: 2
- Views: 450
Re: Selecting All From Database - Isnt Selecting All :(
you are incrementing $i twice - effectively getting every other record
- Sun Mar 13, 2011 5:55 pm
- Forum: PHP - Code
- Topic: Database or no database? If no, how to paginate?
- Replies: 2
- Views: 1856
Re: Database or no database? If no, how to paginate?
Definitely suggest using a database. If you do, here is an excellent and easy to use pagination class
http://phpsense.com/php/php-pagination-script.html
http://phpsense.com/php/php-pagination-script.html
- Sun Mar 13, 2011 7:09 am
- Forum: PHP - Code
- Topic: Very basic problem with form...please help, new developer!!
- Replies: 5
- Views: 1885
Re: Very basic problem with form...please help, new develope
Not being familiar with Eclipse PDT, it sounds to me that when you use Eclipse it starts wamp and php, so the script works. HOWEVER, when you are testing 'outside' of Eclipse, you are NOT starting wamp/php; therefore, php i snot being processed and you are seeing the code rather than the 'output' of...
- Sat Mar 12, 2011 5:58 pm
- Forum: PHP - Code
- Topic: Very basic problem with form...please help, new developer!!
- Replies: 5
- Views: 1885
Re: Very basic problem with form...please help, new develope
That is because the only 'php instructions' in newfile are to print out the phpinfo.
Take a look at this tutorial http://www.tizag.com/phpT/forms.php
Take a look at this tutorial http://www.tizag.com/phpT/forms.php
- Sat Mar 12, 2011 5:49 am
- Forum: PHP - Code
- Topic: loading text under a link
- Replies: 1
- Views: 230
Re: loading text under a link
ajax can do that. Also could use hidden divs
- Thu Mar 10, 2011 10:01 pm
- Forum: PHP - Code
- Topic: how to downlaod only new lines of a file via ftp
- Replies: 9
- Views: 891
Re: how to downlaod only new lines of a file via ftp
seeing how it takes longer than a sec to download the log file, it seems you have multiple downloads going simultaneously?
- Thu Mar 10, 2011 12:03 pm
- Forum: PHP - Code
- Topic: how to downlaod only new lines of a file via ftp
- Replies: 9
- Views: 891
Re: how to downlaod only new lines of a file via ftp
How frequently do you need to download the log file?
- Thu Mar 10, 2011 6:51 am
- Forum: PHP - Code
- Topic: how to downlaod only new lines of a file via ftp
- Replies: 9
- Views: 891
Re: how to downlaod only new lines of a file via ftp
8.6 million lines per day? Perhaps you should re-think how the log file is created/modified.
Maybe use datetime as the logfile name - ie 2011031000 would be from midnight til 00:59:59 ETC ETC
Maybe use datetime as the logfile name - ie 2011031000 would be from midnight til 00:59:59 ETC ETC
- Wed Mar 09, 2011 11:41 am
- Forum: PHP - Code
- Topic: A problem with seperating pages.
- Replies: 8
- Views: 326
Re: A problem with seperating pages.
Passing data (read variables) from page to page can be done via $_GET (sends the data 'attached' to the url), $_POST (besides normal fields, you can have hidden fields) used with forms;OR by using sessions .
- Tue Mar 08, 2011 7:34 am
- Forum: PHP - Code
- Topic: Help with coding
- Replies: 3
- Views: 588
Re: Help with coding
Perhaps if you showed us your code we might have a place from which to start
- Sun Mar 06, 2011 11:33 am
- Forum: PHP - Code
- Topic: Displaying dynamic data from a table if logged in php/mysql
- Replies: 1
- Views: 214
Re: Displaying dynamic data from a table if logged in php/my
perhaps using ajax to 'refresh' the displayed data every x seconds - similar to a stock-ticker-tape
- Sun Mar 06, 2011 11:26 am
- Forum: PHP - Code
- Topic: PHP Adding a Line Break
- Replies: 3
- Views: 320
Re: PHP Adding a Line Break
simply add a <br/> after each </li> in your php coding.
- Sat Mar 05, 2011 10:27 pm
- Forum: PHP - Code
- Topic: Need a free <textarea>spell checker script
- Replies: 1
- Views: 289
Re: Need a free <textarea>spell checker script
You might take a look at this one http://code.google.com/p/jquery-spellchecker/
- Sat Mar 05, 2011 10:15 pm
- Forum: PHP - Code
- Topic: display error
- Replies: 1
- Views: 230
Re: display error
Sometimes short tags don't work, try using <?PHP rather than <? in your code. Also, you might check to see how may rows are returned by your query, AND try echoing out your query to see if it looks like you expect
- Sat Mar 05, 2011 10:10 pm
- Forum: PHP - Code
- Topic: file_get_contents
- Replies: 1
- Views: 265