- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 5
- Posts with Upvotes
- 3
- Upvoting Members
- 5
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Re:
Hi.. I am using MPDF Library to convert my php page into a pdf format. I've displayed already the needed data from my database but my problem is that not all data in the row are being displayed in the pdf. I am having a hard time to display all … |
|
Re:
Hey, I need some help, I need my script to loop through a directory of images and only delete images that contain "t.jpg"... Here is my looping script... [CODE] <?php // First we need to loop through the files.... $image_dir = $_GET['dir']; if(!opendir($image_dir)){ echo error_msg("Ooops... This Album contains no images"); … |
|
Re:
Pls help me find the problem. All input fields work except for the upload. It doesnt take the file to directory I want. I have error scripts in case there's an error but alert errors are not popping, I dont know why... Help... [CODE] if(isset($_POST['submit'])) { $upload_errors = array( UPLOAD_ERR_OK … |
|
Re:
I have 3 tables in DB, m..m relation table1: [U]id1[/U], a,b,c... table2: [U]id2[/U], x, y .. table3: [U]id1[/U], [U]id2[/U] I'm inserting new rows to table1 using a form, and the P. key field is set to AUTO_INCR, because there's no other property that can be meaningful enough to distinguish between … |
|
Re:
Hello I am in a bit bother at the moment, I have an application where I add a contact and at the same time I upload an image to the images directory. Basically I have a feature where you can delete a contact and what I want to be able … |
|
Re:
Hi all, I have a cruise website which contains information of many cruises such as number of cabin, number of beds in cabins, number of floors, price for each cabin type... I want to create a comparison chart/file online where I can compare the cruises to find the most suitable … |
|
Re:
Script is executed in a long time in the end does not display results ? |
|
Re:
I have stared the work to insert the data in the database from php file. Database connection is established successfully but data is not inserted in the database. Some sort of error like "Error: Column count doesn't match value count at row 1" occurs. Our database name is request_license, table … |
|
Re:
Hi, In my system,when i submit my form there is a message comes as "A new account number 1 is created successfully. Thereafter when i try to click on the "refresh" button another new account number is automatically created. Can anyone give some piece of code to avoid that problem? … |
|
Re:
I have attached the screenshot of my output. I guess, the syntax is wrong. Please help.! [CODE]<?php //initilaize the mysql user name and password //Database Config $dbHost='localhost'; //Database server $dbName='db'; // Name of the database $dbUser='root'; // Database username $dbPass=''; // Database password $source = mysql_connect($dbHost, $dbUser, $dbPass); if (!$source) … |
|
Re:
I want to keep what the user selected so when he clicks back and goes to my search the values are still there, have three listboxes. Country, State, City Country Listbox [CODE] <select name="country" id="country" onChange="filter_state();"> <?php echo "<option selected>" . $_POST['country']; "</option>"; $sql = "SELECT * FROM tbl_country"; $result … |
|
Re:
PHP..... I have a mysql table which has two columns: NAME, ADDRESS. i want to assign the both column names into variable. if i give one column name and it works as below. $yourfield = "NAME"; //it prints value of NAME column I want to retrive values of both column. … |
|
Re:
i cant seem to solve this. how do i change the cell background color using php? this is what i got; <tr> <td ><span class="style2">1</span></td> <td >PERAK IP-F002</td> <td bgcolor=<? if($a1==1) echo "#00ff00"; else echo "#ff0000"; ?>> </td> <td bgcolor=<? if($a2==1) echo "#FF0000"; else echo "#00FF00"; ?>> </td> <td bgcolor=<? if($a3==1) echo … |
|
Re:
Dear All, I have an application where I have to time to time keep checking the db if there is any update I got to run some function. So what is recommended cron job or php daemon. |
|
Re:
How to creat the button for 'Export'? Thanks! I want to combine below two sets of code [CODE] <?php echo"<a href='export.php?'>Export</a> ?> [/CODE] [CODE] <?php echo"<input type='button' value='Export'>"; ?> [/CODE] |