Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
27% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
2
1 Commented Post
0 Endorsements
~29.5K People Reached
Favorite Forums

34 Posted Topics

Member Avatar for cliffcc

How to create submit button on each row ? If i press the button on that row, the information on that row will be confirmed. What is the problem? [CODE] ;<input name="<?php echo $row['id']; ?>" type="submit" id="<?php echo $row['id']; ?>" value="Confrim">&[/CODE] The whole code [CODE] <?php $host="localhost"; // Host name …

Member Avatar for Kimanzi
0
18K
Member Avatar for cliffcc

How to creat the photo gallery like these websites? [url]http://www.citibank.com.hk/[/url] [url]http://www.gigonzone.com/productinfo.do?method=viewTopProduct&subproductid=2757[/url] And one more question. How to creat the countdown clock? [url]http://www.gigonzone.com/productinfo.do?method=viewTopProduct&subproductid=2757[/url] Thank you very much!

Member Avatar for pritaeas
0
110
Member Avatar for cliffcc

I use the Xampp software. My computer is connected to voucher. I don't know how to send the email out on localhost! Any software is needed ? How to change the file "php.ini"?

Member Avatar for Smeagel13
0
139
Member Avatar for ryan311
Member Avatar for cliffcc

I have a search engine in the php, i have pressed search button to do searching. I want to have addition function - just pressing the "Enter" can also do the searching instead of search button. What is the code?

Member Avatar for najanan.nehul
0
97
Member Avatar for cliffcc

After query, there are 100 results . I want to just show 20 results in page 1, other 20 results in page 2 .... I want to show the results just like the forum. What is the code?

Member Avatar for Member #120589
0
90
Member Avatar for cliffcc

[code] <?php $file_handle = fopen("info.csv", "r"); while (!feof($file_handle) ) { $data = fgetcsv($file_handle, 1024); echo"$data[0] . $data[1]"; } fclose($file_handle); ?> [/code] I want to get the specific cell value (2,2) from csv in php, how can i do that ? Thank you very much!

Member Avatar for cliffcc
0
2K
Member Avatar for cliffcc

The implode function is not worked! I want to show the string as follows; id-101-102-103-104-105 [code] $handle = fopen($_FILES['file']['tmp_name'], "r"); while(!feof($handle)) { $data = fgets($handle); $listing = explode(",", $data); $id = $listing[0]; $name=$listing[1]; // this is second column data. $telephone = $listing[2]; $email = $listing[3]; $id1 = implode("-,$id); echo "id …

Member Avatar for cliffcc
0
402
Member Avatar for cliffcc

What is the error below, i cannot use it ? The result is blank page! Thanks! [code] <h2>Search</h2> <form name="search" method="post" action="search.php"> Seach for: <input type="text" name="find" /> in <Select NAME="field"> <Option VALUE="fname">First Name</option> <Option VALUE="lname">Last Name</option> <Option VALUE="info">Profile</option> </Select> <input type="hidden" name="searching" value="yes" /> <input type="submit" name="search" value="Search" /> …

Member Avatar for cliffcc
0
126
Member Avatar for cliffcc

How to do checking before importing the csv file by php? I have a csv file which contains the information with the columns (id, name, telephone , email) and have the database with the same columns. I have the php file which can import the csv into the database. Now,i …

Member Avatar for cliffcc
0
4K
Member Avatar for cliffcc

How to increase the security of using the $_GET[ ]? Since it is easily discovered by the visitor and change the path and the edit the information? /albums.php?albums=1 /albums.php?albums=2

Member Avatar for Member #120589
0
113
Member Avatar for cliffcc

I have found some websites, they show the pictures like marquee, but not exaclty marquee. Not continuously moving from bottom to top. Instead, moving from bottom show one picture and then stop a few seconds and then moving again! What is that function and the code? Thanks!

Member Avatar for cliffcc
0
151
Member Avatar for cliffcc

I want to limit the length of text shown in php. What is the code in php? But i want to keep the full of text in database.

Member Avatar for Member #120589
0
90
Member Avatar for cliffcc
Member Avatar for rayidi
0
526
Member Avatar for cliffcc

How to rewrite the code so do the loop in this case? [code] <?php require("connect.php"); $banner1 = mysql_query("SELECT * FROM banner WHERE bannerid ='1'"); $row1 = mysql_fetch_assoc($banner1); $bannerpath1 = ($row1['bannerpath']); $bannerheight1 = ($row1['bannerheight']); $bannerwidth1 = ($row1['bannerwidth']); $bannerdescription1 = ($row1['bannerdescription']); $banner2 = mysql_query("SELECT * FROM banner WHERE bannerid ='2'"); $row2 = …

Member Avatar for perfectweb
0
179
Member Avatar for cliffcc

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]

Member Avatar for cliffcc
0
109
Member Avatar for cliffcc

I have the php which can import the csv files into mysql. But how to avoid the wrong data replace the data database. What is the code in php for checking before insert into the database? Thanks!

Member Avatar for vibhaJ
0
130
Member Avatar for cliffcc

[CODE] <style type="text/css"> #marqueecontainer{ position: relative; width: 650px; /*marquee width */ height: 150px; /*marquee height */ background-color: white; overflow: hidden; border: 2px Solid Purple; padding: 2px; padding-left: 4x; } </style> <script type="text/javascript"> /*********************************************** * Cross browser Marquee II- c Dynamic Drive (www.dynamicdrive.com) * This notice MUST stay intact for legal …

0
76
Member Avatar for cliffcc

I don't know how to enquiry the "informationtype" which are message and email? How to rewrite the below code? [CODE] $information = mysql_query("SELECT * FROM table WHERE informationtype='message'"); $row = mysql_fetch_assoc($information); $result=($row['informationno']); [/CODE]

Member Avatar for Stefano Mtangoo
0
83
Member Avatar for cliffcc

As i know we can set the radio button as default buttion by using the code (checked) . how about the select button? Can i do the same thing to select button? Thanks!

Member Avatar for vibhaJ
0
228
Member Avatar for cliffcc

I have do mysql query, i want to export the result data form mysql in term of csv files. What is the code in php? Thanks!

Member Avatar for vibhaJ
0
177
Member Avatar for cliffcc

When i do refresh in php, the data in iframe become blank. How i still get the search results in iframe after press "refresh" button? Thanks! In the iframe, it just like the search information php [CODE] <iframe width="650" height="400" frameborder="0" scrolling="yes" copyhistory="yes" name="Shopping" src="http://localhost/search.php" ></iframe> [/CODE]

Member Avatar for cliffcc
0
117
Member Avatar for cliffcc
Member Avatar for cliffcc

In mysql, the table consist of informationtype, status and informationno , [CODE] $information = mysql_query("SELECT * FROM table WHERE informationtype='message' AND status='waiting'"); $row = mysql_fetch_assoc($information); $result=($row['informationno']); [/CODE] The query result are 4 rows. The informationno are 11001; 11002; 11007; 11009; If I intend to express the results in term of …

Member Avatar for cliffcc
0
102
Member Avatar for cliffcc

How to show the time and data in the user's timezone? I don't know it at all! Can anyone teach me? Thanks!

Member Avatar for digital-ether
0
182
Member Avatar for cliffcc

I have installed the smtp server and Xampp Warning: mail() [function.mail]: SMTP server response: 550 Invalid recipient: [email][email protected][/email] in C:\xampp\htdocs\emailtesting.php on line 4 [CODE] <?php ini_set("sendmail_from","[email protected]"); mail("[email protected]","Success","Thanks", "From: [email protected]"); ?> [/CODE]

Member Avatar for cliffcc
0
196
Member Avatar for cliffcc
Member Avatar for cliffcc
Member Avatar for cliffcc

How to show the result of counting in php? $room = "SELECT COUNT(*) FROM table WHERE roomid ='1'";

Member Avatar for Member #120589
0
92
Member Avatar for cliffcc
Member Avatar for epicrevolt
0
164
Member Avatar for cliffcc

If I have an event which consist of 100 tasks, how to rewrite the below code,so i can show all the dealine of each task into <table>? Thanks! [CODE] <?php require("connect.php"); $deadline = mysql_query("SELECT * FROM events WHERE taskid='1001'"); $row= mysql_fetch_assoc($deadline); $deadline2 = ($row['deadline']); //dealine for this task(1001) is 2011-3-10-5-45// …

Member Avatar for Member #120589
0
122
Member Avatar for cliffcc

I don't how to confirm multliple records at once by checkbox? [CODE] <?php $host="localhost"; // Host name $username="root"; // Mysql username $password=""; // Mysql password $db_name="test"; // Database name $tbl_name="test_mysql1"; // Table name // Connect to server and select databse. mysql_connect("$host", "$username", "$password")or die("cannot connect"); mysql_select_db("$db_name")or die("cannot select DB"); $sql="SELECT …

Member Avatar for cliffcc
0
232
Member Avatar for cliffcc

The data C:\username\photo.jpg. I cannot insert to database successfully. C:usernamephoto.jpg will be inserted. What is the ways to insert such data?

Member Avatar for pixelsoul
0
33
Member Avatar for cliffcc

I cannot delete the records after pressing the delete button. What is the fatal error? Thanks! admin.php [CODE] <?php $host="localhost"; // Host name $username="root"; // Mysql username $password=""; // Mysql password $db_name="test"; // Database name $tbl_name="test_mysql"; // Table name // Connect to server and select databse. mysql_connect("$host", "$username", "$password")or die("cannot …

Member Avatar for cliffcc
0
85

The End.