Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
60% Quality Score
Upvotes Received
13
Posts with Upvotes
11
Upvoting Members
5
Downvotes Received
7
Posts with Downvotes
7
Downvoting Members
4
1 Commented Post
0 Endorsements
Ranked #2K
~4K People Reached
Favorite Forums
Favorite Tags
Member Avatar for itisnot_me

ok so i am taking a list of numbers and stashing them i an array by going $total[]. then i try to use array_sum($total) and i dont get the last added number instead i get numbers that keep adding up to the final number EX: 10,15,5 output: 102530 i have …

Member Avatar for ashiqin
0
108
Member Avatar for whiteyoh

Hi all, Can anybody advise on how i can best use php and mysql to give a database record an "age" in days? Im recording record creation via timestamp at the minute Cheers Paul

Member Avatar for vharuna
0
96
Member Avatar for virspy

Hello Friends I written the the code for forgetpassword in this i have to get the mail when i enter the mailid the code is as follows forgetpasswd.php <form name="f1" method="POST" action="retrieve.php" > <table> <tr><td colspan=3>&nbsp;</td></tr> <tr><td colspan=3>&nbsp;</td></tr> <tr> <td><font color="red">*</font>Enter Email-ID</td> <td>:</td> <td><input type="text" name="email" maxlength=50></td> <td></td> <td><input type="submit" …

Member Avatar for saiprem
0
99
Member Avatar for manoj30dec

hi I am using following code to validate username and password please can any body check where is the mistake... [code] $adminuser = $_POST['adminuser']; $adminpass=$_POST['adminpass']; if((!$adminuser=="") or (!$adminpass=="")){ echo "Please enter Username and Password"; } elseif((!$adminuser=="admin") or (!$adminpass=="manoj")){ echo "Invalid Username and Password"; } else{ "good"; } [/code]

Member Avatar for harshbavaliya
0
111
Member Avatar for plc
Member Avatar for joloms38

hi guys! can anyone help me about this problem. i want to select the desire data from a row but only the last row the will be posted not the data that i want to get. plz help me. its inside i a while loop. [CODE]else if (($from=='Cagayan De Oro' …

Member Avatar for rajabhaskar525
0
96
Member Avatar for phpDave

Hi, I'm trying to display certain links if user is logged in, else display other links. Everything works great except for log out link. I have a php script inside a php script and its not working. I was wondering if anyone has a solution. Here is the else part …

Member Avatar for phpbeginners
0
118
Member Avatar for peck3277

Hey guys I hope someone can help here, I imagine this is something small and simple but I can't figure it out I have the following code: [CODE] if (isset($_POST['Flavours']) && isset($_POST['Sizes']) && isset($_POST['Product_Name'])){ $flav = explode('-',$_POST['Flavours']); $flavours = $flav[0]; $sizes = $_POST['Sizes']; $product_name = $_POST['Product_Name']; $result = mysql_query('SELECT Products_ID …

Member Avatar for harshbavaliya
0
97
Member Avatar for sunaruna84

Hi Friends, I have used this mail function it works properly. mail has sent when i submit the enquiry form. i need the "Enquiry posted sucessfully" message will be displayed in enquiry form. please tell the solution for my problem. usermail.php [code] <?php if( isset($_POST['name']) && isset($_POST['companyname']) && isset($_POST['address'])&& isset($_POST['country'])&& …

Member Avatar for harshbavaliya
0
525
Member Avatar for infoStud

guys, good morning...what are the requirements that must be installed for you to call java class using PHP?? thanks for the reply ^_^

Member Avatar for harshbavaliya
0
47
Member Avatar for harshbavaliya

sorry but i am new to my sql, I have just a basic question.. and that is how can i create a database or table on the server! I have learned that we can create database or table by using my sql command line... but the main problem is our …

Member Avatar for harshbavaliya
0
99
Member Avatar for loll_l

There are a few things I need to know how to do to complete the Booking Form on my website found here: [url]http://www.n-v-m.co.uk/Booking.html[/url] Any help on the below points would be much appreciated: 1- I need to center the labels in line with the multi line text fields... ie. where …

Member Avatar for loll_l
0
139
Member Avatar for bas_brain

Someone can explain to me why and when we need to reference variables and function. example: function &load_class() { } or $class = &new Class(); I also noticed that some php code vars sometimes appears like this: $_var instead of $var; there is any reason for that.

Member Avatar for harshbavaliya
0
94
Member Avatar for loll_l

Hi, I have recently designed a website for my new business. I have included a booking form which can be found here [url]www.n-v-m.co.uk/Booking.html[/url] I used Dreamweaver CS4 to create the site and 123-reg.co.uk is my web host As it’s my first attempt at making a website I realise I may …

Member Avatar for harshbavaliya
0
1K
Member Avatar for Heila

Checkebox doesn't hold its value when i use jQuery styling plugin wich allows me to skin form elements. but when i remove the jQuery the code works !! can someone plz tell me the way to fix it ?! Code: [CODE] <html lang="en-US" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"> <head> <meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type"/> …

Member Avatar for JRM
0
307
Member Avatar for aditi_19

Hi, I have uploaded all my php pages to the server and everything runs perfectly fine. There is just one problem. When i click the refresh button on any page, the user is automatically logged out (session destroyed) and is directed to the login page. When i was refreshing the …

Member Avatar for harshbavaliya
0
116
Member Avatar for cuty_clemz

how can i get the element of this list? here is my code <select id="itemsTbx" name="originSel" onchange="checkOriginDest()"> <option value="B">Bacolod <option value="C">Cebu <option value="M">Manila <option value="Z">Zamboanga for example i want to get Cebu.. what is the code for that? Please help me... tanx

Member Avatar for BzzBee
-3
88
Member Avatar for mitalichauhan

Hey guys! I am a beginner of php. so i don't know that which will be the best as a loop? While ? or For ? Can anyone help me please.... I want to do this...! Just count 1 to 10 and then add it... i mean 1+2+3+4+5+6+7+8+9+10 nothing much.... …

Member Avatar for JRM
0
105
Member Avatar for Midnite007

If I have a text file and in PHP for example want to read that test file but only a certain part what commands could I use to do this ? Sorry but I am a beginner in PHP and I am lost ... Say for ex I have a …

Member Avatar for Atli
0
243
Member Avatar for nkumar0101

php code to convert doc file to html like in monster.com they take the CV in word file format and display it in a html format

Member Avatar for yogigarg85
0
243
Member Avatar for Midnite000

Can someone please hekp me develope a script that will read from a .txt file ( ex: songs.txt ) and strip out all the songs listed in the file minus the duplicates ... as there will be 2 or 3 of each one listed in the .txt file ... example …

Member Avatar for Midnite003
-4
117