Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
0 Endorsements
Ranked #4K
~3K People Reached
Favorite Forums
Member Avatar for erik216

I need to expend the coding developed by another programmer. The original script only can show five page with no extra notice pdf. So I need to base on his coding to extend. Now I am facing a problem about how can I put line break in multicell. I try …

Member Avatar for LastMitch
0
1K
Member Avatar for erik216

$t1='SC001'; $price = array( $t1 => array ('retail' => $retail) ); I want to change $retail to be array to store more than one value $t1='SC001'; $price = array( $t1 => array ('retail' => array ($var1,$var2..........)) ); My question is I don't know how many variable($var1 , $var2...) need to …

Member Avatar for Zagga
0
114
Member Avatar for erik216

I need to make a web component There have a link to control show / hide a div When user mouseover the link. The div will drop down. When mouse out of the div. The div will hide. Where can I find this script? Thanks~

Member Avatar for lambing
0
136
Member Avatar for erik216

mysql_query("UPDATE `member_info` SET `tel` = '33333339' WHERE id = '3'"); This above sql statement with php that can be update in database table. But when I change id to be a variable. That cannot update to database But I echo $update_id; $update_id can show be 3 mysql_query("UPDATE `member_info` SET `tel` …

Member Avatar for ryantroop
0
124
Member Avatar for erik216

My original path in php code is redirect('abc.php?satisfaction=5&surname=trfhtrd&given_name=tryhtr'); It can show normally in url bar on firefox and chrome. I cam get all information But on IE url bar It shows abc.php?satisfaction=5®_surname=trfhtrd®_given_name=tryhtr So I cannot get information Why? What happen I facing?

Member Avatar for cereal
0
66
Member Avatar for erik216

I want to make a checkbox to control two textfield The checkbox default checked and two textfield default disabled When user uncheck the checkbox , These two textfield do not disabled. How can I write the script?

Member Avatar for fobos
0
126
Member Avatar for erik216

<form method="POST"> first name <input type="text" name="ab" value="aadi"> <input type="text" name="bb" value="aadi"> <br> <hr> <input type="checkbox" name="same" onclick="this.form.zb.value=(this.checked)? this.form.ab.value: ''; this.form.zs.value=(this.checked)? this.form.as.value: ''; this.form.se.value=(this.checked)? this.form.sel.value: '';"> Same as first name<br> second name <input type="text" name="zb" value=""> <input type="text" name="yb" value=""> <br> </form> This coding can only when click the checkbox. …

Member Avatar for almostbob
0
110
Member Avatar for erik216

I want to make two dropdown list A and B dropdownlist A include a , b , c , d When dropdown list A selected A There will be show 1,2,3 in dropdown list B When dropdown list A selected B There will be show 4,5,6 in dropdown list B …

0
62
Member Avatar for erik216

I have just download the class "MC_TABLE" I put mc_table.php and ex.php into folder there have fpdf.php I can run script to generate pdf file in this folder But I cannot use MC_TABLE class it says Call to undefined method PDF_MC_Table::MultiCell() I don't know what problem?

Member Avatar for erik216
0
283
Member Avatar for erik216

As I don't know how many column for table So I only can write a stupid script when the value is not null. Then show the value Does anyone have a good idea for write a simple script to implement this request. [CODE]foreach ($pl_width_arr as $pl_width_arr[$pl]){ if ($pl_width_arr[$pl]['family_code'] == $family_code_eng) …

Member Avatar for diafol
0
133
Member Avatar for erik216

I have two array. How to check different and correct the order in a new array? EG. Array_a 0 => 1 1 => 2 2 => 3 3 => 4 4 => 5 Array_b 0 => 1 1 => 2 2 => 3 3 => 3 4 => 5 You …

Member Avatar for Biiim
0
173
Member Avatar for erik216

I want to make a form it can insert or delete new textfield by click a button. Do any one have some ajax script can do it?

Member Avatar for Agarsia
0
97
Member Avatar for erik216

I have two date field in a table. Start and End I need to run a query to find out which records in a period. For example, in database have two date fields (event_start and event_end) I want to find out all activities include in 13/8 to 15/9. Not use …

Member Avatar for adam_k
0
83
Member Avatar for erik216

Hi All, I am using phpexcel to open a excel worksheet to insert some data. But I have some validation in this worksheet. I want to continue to use all validation. How can I do?

0
58
Member Avatar for erik216

I want to write a script if database no this record. It will insert If database have tis reord. It will update [CODE]for ($a=0; $a<count($arr_event_id); $a++) { $query1 = "SELECT evnt_id FROM sales_roadshow WHERE evnt_id = '".$arr_event_id[$a]."' "; $result1 = mysql_query($query1) or die(mysql_error()); $row_s1 = mysql_fetch_row($result1); $P_numrows1 = mysql_num_rows($result1); if …

Member Avatar for urtrivedi
0
139
Member Avatar for erik216

I don't know why can't I update? Coding show as below: [CODE]<?php $con = mysql_connect("example.com","user","password"); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("germanpo_gpweb", $con); $refnum = $_POST['reference_num']; $recetel = $_POST['receiver_tel']; mysql_query("UPDATE `order` SET `receiver_tel` = '".$recetel."' WHERE `reference_num` = '".$refnum."'"); mysql_close($con); ?> <p align="center"><? echo "$refnum , …

Member Avatar for faroukmuhammad
0
219
Member Avatar for erik216

I have a database database call 'member'. There are 3 fields id , name , tel , address id name tel address 1 Mary Hazia 271-23232 abc street 2 Mary Larkson 12376896 cde street 3 Luna Ualix 73635127 def street 4 Ming Elison 37383298 efg street 5 Cathy Jilop 34r46328 …

Member Avatar for G&G Designing
0
85
Member Avatar for manchurianCEO

I have seen several posts but I haven't really got around it. I am finding out PHP is a lot more useful than I thought so I'm trying to use it as much as possible for its flexibility to modify content from a single file. Can I include the contents …

Member Avatar for G&G Designing
0
216