39,316 Topics

Member Avatar for
Member Avatar for bsse007

i just know to upload an image and make it to move to a folder. will any body please tell me that how can i upload an image to the textarea.it means if a user upload an image it appears in the textarea. kindly reply soon

Member Avatar for sergb
0
66
Member Avatar for Chosen13

I need help making something for a forum of mine. I have view thread, new reply, new topic, forum index, view forum, and all that done. I just need this. What I want it to be is a section that lists the last 25 posts you've posted in, and each …

Member Avatar for Chosen13
0
84
Member Avatar for Dragennd

Hey, I'm trying to make a form of a search engine for my website. I have permission from my teacher to do it for class even though its for personal use. I have part of it built but I'm stuck at the "proper translation of the file" part. Heres the …

Member Avatar for Dragennd
0
162
Member Avatar for eagled2

I'm creating a site with several articles. On the main page of this site I am creating section that shows you a preview of the articles and allows you go through them using a next and previous button. I found some example code designed for use with search results and …

Member Avatar for eagled2
0
2K
Member Avatar for LloydFarrell

Hi all, Im looking for some help with a profile view counter in php. What im trying to do is update mysql db by 1 everytime a profile is viewed. ATM when a profile is viewed, my db is updating every profile by 1 please review my code below and …

Member Avatar for nonshatter
0
941
Member Avatar for johnnc

Greetings All, I am writing a php script that reads the contents of a folder and writes the files to the screen as a link. The folder has many files but the naming convention is the same. It is: randomNumber_Date_Time.pdf I need to scan the files and if the randomNumber …

Member Avatar for johnnc
0
83
Member Avatar for Mujahid158

Hello everyone, I've been looking for a open source cricket fantasy script for couple of months but haven't reached to anything. Now, i decided to code my own cricket fantasy script. But there is one thing which is making me confuse. How does the match fixtures, results and player stats …

Member Avatar for Mujahid158
0
82
Member Avatar for CzechRock3

Im trying to creat a password varification system where the user enters there password twice while making a user account but everytime the user enters there password it is telling them 'sorry, passwords dont match' Im trying to say if there are two input boxes in the first one they …

Member Avatar for Hirra
0
400
Member Avatar for Venom Rush

Hi I've been searching on how to use php variable names inside an array and to much dismay I've found nothing. I'm sure it's something really simple but I can't seem to get it even after the numerous educated guesses I've made and tried. What I want to do is …

Member Avatar for Abolshiz
0
4K
Member Avatar for leegeorg07

Hi all. I have a text file and it will be edited by multiple people at one time. I want to be able to have a script to do this for me, given the new text, the old text and if possible how many people have been editing it. I …

Member Avatar for EvolutionFallen
0
94
Member Avatar for bsse007

what will be the code of comparing the login data with the already stored data of user on the data base .kindly reply me soon.ihv to compare the two variables(user name and password).plzzz

Member Avatar for bsse007
0
2K
Member Avatar for muralibobby2015

hello...i am using this script. but when ever i am posting images then uploading only one image. this is my code. [ICODE]<? ob_start(); extract($_POST); extract($_REQUEST); if($_POST) { echo $_FILES["file_1"]["name"];exit; if(is_uploaded_file($_FILES["file_1"]["tmp_name"])!='') { $rand_variable1=rand(10000,100000); $node_online_name1=$rand_variable1.$_FILES["file_1"]["name"]; //echo $node_online_name1;exit; if(is_uploaded_file($_FILES["file_1"]["tmp_name"])) { move_uploaded_file($_FILES["file_1"]["tmp_name"], "attachments/" . $node_online_name1); $Attachments1=$node_online_name1; echo $Attachments1;exit; } } } ?> <html> <head> …

0
58
Member Avatar for vharuna

Somebody please help with this code. I have been tryin to calculate and display the total of the total output from an oracle database. Please see my code below and kindly tell how i can display the total. <?php $conn = oci_connect("Username", "pwd", "IP/tns"); $date=date('d M Y'); $total= oci_parse($conn, "select …

Member Avatar for LethargicCoder
0
138
Member Avatar for nonshatter

Hi all, I have just made a search bar for a site but I am having trouble trying to return the number of results that are found. E.g. I want it to print "Your search terms returned 'xx' results" after each search. This is my code: [CODE] <?php include ('db.php'); …

Member Avatar for Virtualbase
0
2K
Member Avatar for dicksonkaranja

Guys i was wondering if any of you can suggest a book or a tutorial that i can use in object oriented PHP

Member Avatar for Virtualbase
0
79
Member Avatar for nanharb

I am trying to create an update query for a website, and I keep getting an syntax error message. I narrowed it down to the table column that is the only field that is set to be of type text. [code]UPDATE company SET references = "blah blah blah" WHERE company_id …

Member Avatar for cereal
0
2K
Member Avatar for bsewell

HI All, I'm developing a security system for a CMS but it appears that my redirect does not work. I'm using sessions and I know that the session is being created since I did an echo on session_id(). [CODE]<?php if($count==1) { $_SESSION['loggedin']=1; print "logged in"; header('Location: edit.php'); print "no"; } …

Member Avatar for Virtualbase
0
272
Member Avatar for paragouldgamer

The code: [CODE = php] $selecteddate = $_POST['Releasedate']; $selectedplatform =$_POST['Platform']; $selectedstyle = $_POST['style']; $query="SELECT * FROM $table WHERE date = '$selecteddate'AND Style = '$selectedstyle'AND Platform = '$selectedplatform'"; [/CODE] Ok, the code works if someone picks something for all 3 of the items, so all of the code works, but if …

Member Avatar for Virtualbase
0
96
Member Avatar for bsewell

Hi All, I'm trying to replace all occurances of ' to &rsquo;, which is it's character code in HTML. How to I get str_place to search for '? [CODE]$data=str_replace("&rsquo;","'",$data);[/CODE] Cheers,

Member Avatar for mschroeder
0
76
Member Avatar for fortiz147

please help i don't know how to delete multiple rows in mysql using checkboxes, because it seems the delete doesn't seem to work. here's the code: [code=php] <?php $host="localhost"; // Host name $username=""; // Mysql username $password=""; // Mysql password $db_name="test"; // Database name $tbl_name="test_mysql"; // Table name // Connect …

Member Avatar for light-man
1
333
Member Avatar for atullalit91

In 2dys code, m trying best for updating values on the basis of id coumn value but its not updating... thn i tried to target data using select command.. nd it shws d result thr4 now m confused wth update command... plss chkout ths code as well... [CODE]<?php $host="localhost"; $username="root"; …

Member Avatar for atullalit91
0
117
Member Avatar for Carter12

Hello, I need some advice from some of the more expert programmers on what path should I take further in my learning process. I started with PHP and now I can say I do ok, not an expert of course. I like programming very much and I love PHP, it's …

Member Avatar for omol
0
253
Member Avatar for GeoffC

I have a couple of buttons in html as follows: <tr> <td><a href="member_archive_action.php"><input class="button" name="Change" type="button" id="Change" value="Change" ></a></td> <td><a href="members.php"><input class="button" name="Back" type="button" id="Back" value="Back" ></a></td> </tr> Each of them calls the appropriate php script twice when pushed. The Change button toggles a flag so was apparently doing nothing. …

Member Avatar for amphetkid
0
79
Member Avatar for ishq

Hi Well when i open my site in Internet Explore 6 then WordPress Widget(FeedBurner Box)goes down n when i open it in another browser then it ok [B]This Pic from Chrome :[/B] [img]http://www.roboimages.com/image/ri55421/chrome1.JPG[/img] N [B]This From IE 6[/B] [img]http://www.roboimages.com/image/ri55420/ie6.JPG[/img] this is my site [B]technme.com[/B] so any help waiting reply Help …

Member Avatar for saiprem
0
78
Member Avatar for RisTar

Hi, I created a couple of web applications with php and mysql and i have a problem that keeps coming up. I want to use html text boxes that will send information to the database but i want it to include line breaks.... until now i just typed in <br/> …

Member Avatar for RisTar
0
87
Member Avatar for shms

Hi, I want to integrate the dhtmlxScheduler calender with the codeigniter framework. but i am not sure how to connect with the model instead of the db directly and also, how to manage the interaction between the controller, the model and interface thanks,

0
75
Member Avatar for bjeffries

I was wondering how I would precess a form using ajax. All my ajax works and my form works, but my form within the ajax doesn't work. Here is my contact.html page [CODE] <head> <script type="text/javascript"> function loadXMLDoc(url) { if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new …

Member Avatar for bjeffries
0
141
Member Avatar for andydeans

Hi, I currently am calculating the age based on Date of Birth from the database. However I am told that I cannot search an AS on my recordset query from mysql database with PHP. Is this true and if so how can i search the age calculated from their Date …

Member Avatar for pritaeas
0
53
Member Avatar for dhairyaguptha

I have tree Iframes loaded with three different PHP files. I want to store them in a single mysql table after i click a button on main page. Need to display all details on the iframes till i click the main pages button. Please Help me how can i do …

Member Avatar for matthewl
0
48
Member Avatar for stefano28

hello. i want to have a database in which i can have data of proteins and their structures .I'm New to php and have a biological background i studies . so can any one help me step by step that how can i build the database. regards Stefano [email]sa_kushi@gmail.com[/email]

Member Avatar for diafol
0
108

The End.