Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+6
Strength to Decrease Rep
-1
100% Quality Score
Upvotes Received
12
Posts with Upvotes
12
Upvoting Members
11
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
6 Commented Posts
0 Endorsements
Ranked #411
~42.8K People Reached
Interests
Programmnig
Favorite Forums
Favorite Tags
Member Avatar for star_lavender

Hi. I have one drop down menu and one textfield. The drop down menu will display the book's id and book's name that retrieve from the database while the textfield will automatically display the book's name based on the user selection from the drop down menu. I try to use …

Member Avatar for Emeka_2
0
403
Member Avatar for rpv_sen

Hi Friends. i am working on my internal work. i am having n dynamic rows, Each and every row contain total. i want to sum all the rows total. i have attached the screen shot for the reference

Member Avatar for diafol
0
2K
Member Avatar for kirtan_thakkar

I want to add text string at the end of the text file. I used "a+" for it but it delete all the content and than enters text to it. So please help.

Member Avatar for msnadz
0
3K
Member Avatar for divyakrishnan

Hi... I am using xampp-win32-1.7.3.I want to use Adodb.I had seen that adodb is included on xampp package(xampp/php/pear/adodb).I had used the following code to retrieve data from mysql database. [CODE]<?php include("adodb.inc.php"); $db = NewADOConnection('mysql'); $db->Connect("localhost", "root", "", "emp"); $result = $db->Execute("SELECT * FROM employ"); if ($result === false) die("failed"); while …

Member Avatar for son.anh.963
0
2K
Member Avatar for anuradha.joshi10

Hello, I have got the following array string through URL. http://www.xmeniafitnessclub.com/1024768/enquiry.php?fname=hgg&sex=female&facility=weightloss&facility=weightgain&facility=yoga&facility=danceclass&phone=363636&email=anuradha.jo1shi%40cognizant.com&feedback=%0D%0Ayuy&submit=Submit I need to seprate out following values.. I am trying this array but with no luck.. # **&facility=weightloss&facility=weightgain&facility=yoga&facility=danceclass** # HTML code for same is - <tr> <td><label>Facility *:</label> </td> <td> <input type="checkbox" name="facility" value="gym"/> Gym<br /> <input type="checkbox" name="facility" …

Member Avatar for anuradha.joshi10
0
2K
Member Avatar for FBG

I have a problem creating a commentbox in PHP. I've created this commentbox from a simple tutorial and created a database with MySQL and it works fine. The only problem is, the table won't expand when more text than the quantity that can fit on 1 row is send. Instead, …

Member Avatar for jcbphlip
0
247
Member Avatar for DaveyMoyes

Hi all, I need someone to help me out, I am trying to call a .php file with php variables - [code] include('Code.php?buyer='.$lastid.'&oid='.$oid.'&bid='.$bid.''); [/code] when i edit the url myself using values from the database it works like it should do. but when I am calling the php file using …

Member Avatar for DaveyMoyes
0
153
Member Avatar for Jeroen van Zijp

Hey all! What I am working on is a contact form with file upload functionality. (e.g. user should be able to upload a screenshot.) Uploading a file should not be mandatory. So the mail which is produced from the entered information in the form should be sent without an attachment …

Member Avatar for soul2life
0
135
Member Avatar for Buppy

Hi, A little help here needed - i want to make a class variable (array). Some values are expected to be from a session variable. Example [CODE] public $myArray = array( 'key1' => 'something', 'key2' => $_SESSION['something_else'], ) [/CODE] With this i get an error about unexpected variable. Aynone knows …

Member Avatar for Buppy
0
88
Member Avatar for musicmaker001

I created a Javascript application that creates a moving quote.([url]http://economymoving.net/get_an_online_moving_quote.php[/url]) The quote page should insert a record in the db, display the record on a new page called viewquote.php and send an alert email to the company. Currently, the phpmyadmin database receives the record but viewquote.php doesn't display the correct …

Member Avatar for paulrajj
0
971
Member Avatar for mwenyenia07

i have created an application which is supposed to check database after every 20 minutes to get some new data and respond accordingly. how do i implement this regular checks ?

Member Avatar for paulrajj
0
109
Member Avatar for zack654

Hi Whenever I have error in PHP script, it doesn't return errors, it only returns blank page. So, when everything is OK, script works perfectly, but when I have error, it's only blank page in browser. I use Debian 6.0.2 any help is appreciated :D

Member Avatar for coolest_987
0
232
Member Avatar for karyal

i am building a website and i hardly need to track ip addreess of visitors. please help! SOS

Member Avatar for coolest_987
-3
106
Member Avatar for youvi

See,am working with joomla 1.5 component,i want to create a component so that it can submit some datas to database...so i have a folder "com_lessons" inside the "component" folder.so u know,we have controller,model,view, for creating a component...sn't it?? [CODE] <form action=""> <table width="400" border="0"> <tr> <td>Lesson Title</td> <td><input type="text" name="lesson_title" …

Member Avatar for paulrajj
0
98
Member Avatar for heshanm

Hi all, t to upload files to my server. Here i have created a coding. This only allows me to upload pictures. How can i amend my coding to upload word and excel files also... [CODE] <?php $db=mysql_connect('localhost','root',''); mysql_select_db('bank'); if ((($_FILES["file"]["type"] == "image/gif") || ($_FILES["file"]["type"] == "image/jpeg") || ($_FILES["file"]["type"] == …

Member Avatar for mschroeder
0
135
Member Avatar for TechySafi

[CODE]$data = "email@yahoo.com,go@gmail.com,example@example.com"; list($email1, $email2, $email3) = explode(",", $data); echo $email1; // email@yahoo.com echo $email2; // go@gmail.com [/CODE] Pretty perfect but my problem is I don't know how many email addresses will be inserted by a user. He can input just 1/2 or even 30/40. So the style of below …

Member Avatar for TechySafi
0
116
Member Avatar for debasishgang7

I am trying to write a script that will get TOP ten values from a Table of a certain column. Here is my code.. [CODE]<?php include("../inc/db.php") $data = mysql_query("SELECT * FROM table ORDER by rank DESC LIMIT 10"); while($row = mysql_fetch_array($data)) { echo $row['id'] ; echo "-----"; } ?>[/CODE] Here …

Member Avatar for diafol
0
118
Member Avatar for xxreenaxx1

I have two delete function and would like to make this as one. So I can use this on my webpage. But not sure how? Anyone willing to help me :D [CODE=php] DELETE FROM test WHERE Tes_ID=$Tes_ID; DELETE FROM question WHERE Tes_ID=$Tes_ID [/CODE]

Member Avatar for xxreenaxx1
0
79
Member Avatar for puvi

hi frens I am trying to pass array in $_SESSION from the abc.php to generatepdf.php. the pdf is not getting generated after i wrote this part of code. this is in generatepdf.php [CODE] foreach($_SESSION['refcode'] as $temp) { $refcode[]=$temp; } foreach($_SESSION['description'] as $temp) { $description[]=$temp; } foreach($_SESSION['unit'] as $temp) { $unit[]=$temp; …

Member Avatar for puvi
0
97
Member Avatar for zeeshan_kust

Hello all, i have two arrays i.e [CODE]$ar1=array("Mobile","shop","software","hardware");[/CODE] and [CODE]$arr2=arry("shop","Mobile","shop","software","shop")[/CODE] i want to compare the elements of arr2 to arr1 i.e [CODE]foreach($arr2 as $val) { if(in_array($val, $arr1)) { //mycode to insert data into mysql table variable++; // here there should be a variable that must be increamented when ever match …

Member Avatar for kekkaishi
0
148
Member Avatar for begueradj

Hi people, I get an error when performing the following request: [CODE] $query=" SELECT * FROM vessel,cargo,customer ORDER BY ladate DESC WHERE vessel.id=cargo.id AND vessel.id=customer.id LIMIT $eu, $limit";[/CODE] it is about the ORDER BY ladate DESC Can you you show me where I should write ORDER BY in the correct …

Member Avatar for begueradj
0
111
Member Avatar for jacob21

Hi, I am fetching date from the database which is submitted by user while form filling. The date came from database 2011-11-15. What i want to do,show date in below format. 2011-dec-15 or dec 15 2011 need help??

Member Avatar for paulrajj
0
75
Member Avatar for dr.4030

i wanna to upload some images for my banners but i want to send special formats to my db like jpeg and png i wrote some things like this <? %name=$_FILES['imgfiled']['name']; $size=$_FILES['imgfield']['size']; $type=$_FILES['imgfield']['type']; if ($type==image/jpeg) //i wanna upload png files too. but i dont know how to add it. exactly …

Member Avatar for dr.4030
0
104
Member Avatar for romy_fb

hi i wanaa ask what is $_SESSION['views']=1; mean ??? i think its like array but i don't know and what is "views" is it index ? can i change it ? if it is index why in each page i just write views i mean why i didn't change the …

Member Avatar for kekkaishi
0
114
Member Avatar for tcollins412

i am using the following code to submit a form: [CODE] <script> function marktaskcomplete(){ document.forms["markcomplete"].submit(); } </script> <? if ($_POST['markcompletevalue']=='yes'){ include "dbconnect.php"; $taskid=$_POST['taskid']; $query="UPDATE tasks SET status='0' WHERE uid='$id' AND id='$taskid'"; $result=mysql_query($query); if ($result){ echo "<script>location.href='?goto=taskmanager'</script>"; }else{ echo"fail"; } mysql_close; } ?> [/CODE] and when i try to submit more …

Member Avatar for tcollins412
0
237
Member Avatar for ryan311

please help to validate my username i know its simple but i can't get it i want only to validate the first 4 input of the username should be a letter. i try to use the preg_match function but i can't get it correctly.

Member Avatar for mschroeder
0
86
Member Avatar for axicraw

i have used redirect------header("Location example.php"); but getting an error the error is----cannot modify headers. headers already used there is no html in the page... but the current page("example.php") is a redirected one it worked fine for me in my local wamp server... but when hosted it says this error... help …

Member Avatar for paulrajj
0
69
Member Avatar for benivolentsoft
Member Avatar for FBG

Hi, On my website I have a lot of folders with lists of article links. I want to display the number of links in these lists on the folders people select, so they know how much articles are inside a folder and where to search. I've looked for help creating …

Member Avatar for FBG
0
107
Member Avatar for arshalan

hi, Php developers , need a help here. how to make php shortuts in [code]%shortcuts%[/code] or [code]:shortcuts:[/code] ? I know only a shortcut of [code]$shortcut[/code] But this is not usefull . Thanx in advance :)

Member Avatar for arshalan
0
158