39,323 Topics
| |
Hi all, I'm hoping I'm posting this in the correct forum. I'm working on a project where a user purchases a downloadable item via Paypal. Once the user has made the purchase, he or she is return back to the site where the purchase is recorded to the database. Everything … | |
Hey guys, i've been having a go at / learning some php for the last 4 weeks or so. its been really interesting. ive however hit a problem that i cannot find a solution to. Here is the website in question http://apnb.du-z.com/ every sixth or so refresh in the 'Hot … | |
this probably has a simple solution but i cant seem to see whats wrong with it [CODE]<?php //Form Data //error seems to occur here echo "<h1>Registration</h1>"; $submit = $_POST['submit']; $fullname = $_POST['fullname']; $username = $_POST['username']; $password = $_POST['password']; $repeat_password = $_POST['repeat_password']; if ($submit) { } ?> //between these two points … | |
fck editor image upload failing in my server. images are not uploading. but it is working in my localhost.....plz tell me what to do? | |
So basically, as soon as my page loads I need to have a pre-loaded date to my drop-down boxes and in my textfields that came from my database as you will see if you go over my code. My drop-down boxes are auto-filled with the months-days-years because of my javascript. … | |
Hi everyone, have visited the site a few times as a lurker and found answers to most questions. At the moment I'm stuck with a piece of code, I can't see why it won't work. The page below has the variable $Repair_No posted to it from another page, the code … | |
Can anyone tell me the upload script using mysql and php. Also can we insert images in mysql database? | |
well i ve been trying to format my email form from a few days... how do i bring the form to the center of the page? | |
hi guys,.need help.. want to have a simple bar graph in html/php that should display the basic legends, -x and y data -graph title -x and y ranges.. please help..tnx in advance ^^ | |
I have a number of text files each with 4 pieces of data on each line: name, date, time and comment. I have used $fh to open and read the data and put them in 1 long variable called $AllComments. I then need to sort them by date and time … | |
Let's say a user submitted some information through a form into a MySQL database. The data was timestamped. The user is given a certain number of days to submit an additional chunk of data into the database. If he doesn't submit it by the required date, an email has to … | |
Hi all, My site is on dedicated server by fasthosts.co.uk. i get email from host server that my site has been placed on the Spamhaus SBL. below is the content for that: [CODE] >> Web bot: port 80 >> IP address 217.174.241.205: on fasthosts.co.uk/live-servers.net >> Canadian Pharmacy spammer[s] are using … | |
I have problem with my mini blog since 2 days until now [URL="http://blog.soccerass.com/"]http://blog.soccerass.com/[/URL] Here the latest error log --> [B][Tue Aug 03 03:51:43 2010] [crit] [client 87.250.254.243] (13)Permission denied: /home/socc*****/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable [/B] I have 2 domains called soccerpropick.com and soccerass.com both … | |
Hi, i have made a rss feed that automatically updates, what i done use php to grab information from the database as new content is added in xml. Everything seems okay but when i click subscribe to rss feed it displays "Failed to load feed". My extension is .php is … | |
Hi All Hope You All Are Fine And Happy... i am here in search of solution to my problem... i want to use yahoo tab view in my blogspot... blog Add This Script in the head tag [CODE]<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/combo?2.7.0/build/tabview/assets/skins/sam/tabview.css"> <script type="text/javascript" src="http://yui.yahooapis.com/combo?2.7.0/build/yahoo-dom-event/yahoo-dom-event.js&2.7.0/build/element/element-min.js&2.7.0/build/tabview/tabview-min.js"></script>[/CODE] In Body tag : [CODE]<body class=yui-skin-sam> … | |
I often find myself parsing a url or filepath for includes and links, and it usually leads to messy, frustrating code. Given PHP's massive library, I assumed there would be something to make life easier, but I couldn't find anything while pouring over the online reference. It's a lot of … | |
Can someone look at this and tell my why it's not working like it should? It gets the data from the database fine, just wont post to search.php [CODE]<?php //connect to your database ** EDIT REQUIRED HERE ** mysql_connect("localhost","root",""); //(host, username, password) //specify database ** EDIT REQUIRED HERE ** mysql_select_db("test1") … | |
I m not getting how to link pages in php..... For ex if I click on submit button of a regidtration form then i want to be navigated to a new page.. What should i do ... please suggest..... | |
I am trying to Add rows to my table through DOM. I have two drop downs and one text field in one row. One drop down is populated from database and when the second drop down is populated through Ajax. As far as one row is concerned it is doing … | |
hi all, the following code is for pagination using php and ajax. I have 4 records in my table. It queries and echo's that there are 4 records, which is correct, but the pagination is not kicking in. IVe been looking at this for a while and just cant see … | |
Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in C:\wamp\www\registration\login.php on line 19 is the error i get when i run the below code i cant figure out what is wrong with it. :( [CODE]<?php $username = $_POST ['username']; $password = $_POST ['password']; if ($username&&$password){ $connect = mysql_connect("localhost","root","") … | |
Hi again I'm still having problems with PHP/MySQL Warning messages, even when using mysql_real_escape_string(). The offending string is: [CODE][25:64] And the true servants of the Gracious God are those who walk on the earth humbly and when the ignorant address them, they avoid them gracefully by saying, 'Peace!'[/CODE] If I … | |
Hay, every one seen the of twitter ,facebook ,diggs and google buzz. How can i implement same plugin im my site. I success fully implemented the google buzz plugin but not any other. pls help me. -keval | |
I would like to save to database but not file. please help me and show me how i can change from file to databasetables. [CODE]****users***** <?php function saveUsers($onlineusers_file){ $file_save=fopen("onlineusers_".$_POST… flock($file_save,LOCK_EX); for($line=0;$line<count($onlineusers_f… fputs($file_save,$onlineusers_file[$li… }; flock($file_save,LOCK_UN); fclose($file_save); } $onlineusers_file=file("onlineusers_".… if (isset($_POST['user'],$_POST['oper'])){ $user=$_POST['user']; $oper=$_POST['oper']; $userexist=in_array($user,$onlineusers… if ($userexist)$userindex=array_search($use… if($oper=="signin" && $userexist==false){ $onlineusers_file[]=$user; saveUsers($onlineusers_file); echo … | |
I have tbl 1 id_column(1 2 3 ) tbl 2 id_column(1 1 1 2 2 3 3 3) I need result tbl2 join with tbl 1 values (3 3 3) Thank you in advance i'm strugling from two days for this. | |
I have two drop down lists in my form- catagory and the second one sub-catagory.When user selects a particular catagory corresponding sub-catagory should be displyed in the second drop down list for further user selection.I am using PHP-Mysql in dreamweaver.When i preview the first list is working properly but the … | |
hello people, i'm new here in Daniweb and very much interested in web development(Specially php,mysql,ajax based web applications). I know HTML and CSS, but don't have any past experience in any scripting/ programming language like javascript or c(though i know basics of C), java etc. Some of my friends suggested … | |
hello.. i have to do substraction of two php variables which is having datatype varchar. i am trying like this.[CODE] $a=5; $b=3; $c=$a-$b; [/CODE] but for float values [CODE] $a=3000.90; $b=2000; $c=$a-$b; [/CODE] out put is $1000.9. ok even i echo $a i am getting 3000.9 how to get two … | |
for this to work you need to add some text boxes and name them accordingly, make sure when you add a text box add [CODE]$_POST["new_text field"] = $new_text field;[/CODE] etc etc. html coding can be used within the html tags only. | |
Hi all, i am making one site for social networking with some gr8 features. now i want to add a chat room in it. but i think using a file system or table for chat isnt a good idea as both have lot of cons. i want a chat systme … |
The End.