Search found 17 matches
- Thu Jan 19, 2012 6:17 pm
- Forum: HTML, CSS and other UI Design Technologies
- Topic: How to prevent table being stretched?
- Replies: 1
- Views: 2372
How to prevent table being stretched?
I want to prevent the table of the searched data being stretched. If there are many data that are searched, the table size is okay, but when there are small data that are being searched, it will display the data in the stretched table height which looks awkward. I need to know how to prevent the tab...
- Wed Jan 11, 2012 8:55 pm
- Forum: HTML, CSS and other UI Design Technologies
- Topic: Table not scrolling
- Replies: 2
- Views: 1771
Table not scrolling
I'm trying to make a table from a searched data scroll but it is not working. This is the css code I use to do the table scroll <style type="text/css"> table{ background-color:#EBEBEB; } th{ width:150px; text-align:left; } </style> </head> <style type="text/css"> table { table-la...
- Wed Jan 04, 2012 8:59 pm
- Forum: PHP - Code
- Topic: How to pass searched value from one php file to another
- Replies: 1
- Views: 275
How to pass searched value from one php file to another
Im trying to pass a searched value which in searchschoolsthis.php to excel.php. When I click 'Cetak', it generate the excel file but without the searched data. I tried checking that excel.php by putting this: $strSQL = "SELECT * FROM schools WHERE kod_sekolah='Q'"; It prints the data I wan...
- Mon Jan 02, 2012 7:27 pm
- Forum: PHP - Code
- Topic: Unable to Print Data in Excel
- Replies: 6
- Views: 1630
Re: Unable to Print Data in Excel
What do you mean? How do I define $dbcon?
- Mon Jan 02, 2012 6:39 pm
- Forum: PHP - Code
- Topic: Unable to Print Data in Excel
- Replies: 6
- Views: 1630
Re: Unable to Print Data in Excel
Now I got this error "Unable to select database". Help me please:(
- Thu Dec 22, 2011 8:30 pm
- Forum: PHP - Code
- Topic: Unable to Print Data in Excel
- Replies: 6
- Views: 1630
Unable to Print Data in Excel
I wanted to have a button to enable the user to generate an excel file from searched result, but in the excel.php I got this error. <b>Warning</b>: mysqli_connect() [<a href='function.mysqli-connect'>function.mysqli-connect</a>]: (28000/1045): Access denied for user 'root'@'localhost' (using passwor...
- Thu Dec 22, 2011 2:02 am
- Forum: PHP - Code
- Topic: Help Needed.Errors in PHP Codes
- Replies: 7
- Views: 1019
Re: Help Needed.Errors in PHP Codes
What do you mean by giving a parameter? Can you give me an example? Sorry for asking a simple question. I'm quite new to programming n php 
- Thu Dec 22, 2011 1:39 am
- Forum: PHP - Code
- Topic: Help Needed.Errors in PHP Codes
- Replies: 7
- Views: 1019
Re: Help Needed.Errors in PHP Codes
After changing die to trigger_error now I got these error. I'm confused 
Warning: mysqli_error() expects exactly 1 parameter, 0 given in C:\xampp\htdocs\projectli\cetakpdf.php on line 131
Fatal error: in C:\xampp\htdocs\projectli\cetakpdf.php on line 131
Warning: mysqli_error() expects exactly 1 parameter, 0 given in C:\xampp\htdocs\projectli\cetakpdf.php on line 131
Fatal error: in C:\xampp\htdocs\projectli\cetakpdf.php on line 131
- Thu Dec 22, 2011 12:47 am
- Forum: PHP - Code
- Topic: Help Needed.Errors in PHP Codes
- Replies: 7
- Views: 1019
Re: Help Needed.Errors in PHP Codes
I did some changes in the codes and I got this error Parse error: syntax error, unexpected ',' in C:\xampp\htdocs\projectli\cetakpdf.php on line 131 which is in this line of code. I think there is nothing wrong with this code, but the error seems to be from this line of code. $result=mysqli_query($d...
- Wed Dec 21, 2011 9:16 pm
- Forum: PHP - Code
- Topic: Help Needed.Errors in PHP Codes
- Replies: 7
- Views: 1019
Help Needed.Errors in PHP Codes
I tried to print a pdf file using fpdf but I keep on getting 4 errors in my php. I've been trying to figure this out for weeks already.I hope someone can help me to debug this. :( The 4 errors are: Warning: mysqli_query() expects parameter 1 to be mysqli, string given in C:\xampp\htdocs\projectli\ce...
- Tue Dec 20, 2011 6:44 pm
- Forum: PHP - Code
- Topic: Printing Data in PDF
- Replies: 1
- Views: 449
Printing Data in PDF
I am trying to generate a pdf file that will display the searched data performed in the current page. In the current page, the searched data is displayed in table form, how can I make a button to generate the searched data in pdf from the current page? Please some one help me,I've tried using fpdf b...
- Thu Dec 08, 2011 8:39 pm
- Forum: PHP - Code
- Topic: Cannot Open Another Page
- Replies: 3
- Views: 446
Re: Cannot Open Another Page
Prob solved. Thank you very much!
- Thu Dec 08, 2011 8:36 pm
- Forum: PHP - Code
- Topic: Cannot Open Another Page
- Replies: 3
- Views: 446
Re: Cannot Open Another Page
How do I correct this? sorry I'm new with php.
- Thu Dec 08, 2011 8:04 pm
- Forum: PHP - Code
- Topic: Cannot Open Another Page
- Replies: 3
- Views: 446
Cannot Open Another Page
Hi, maybe this seems like a simple question but I been working on this for weeks.I can't seem to make the "Print" button open the printpdf.php page, instead it open the searchschoolsthis2.php. How can i make the print button button open the printpdf.php? Your help is much appreciated. Belo...
- Fri Nov 18, 2011 12:03 am
- Forum: PHP - Code
- Topic: Help needed. Errors in php codes
- Replies: 4
- Views: 518
Re: Help needed. Errors in php codes
Thanks! Problems solved!:)