39,323 Topics
| |
Hi frnds... i have been completed my project...now, i need to add the LIKE/DISLIKE for each & every article. How can i do that..i think its better to do in AJAX...but i dont know how? plz give me suggestion.... Is there any readymade scripts available on the net...i used only … | |
The title is pretty self-explanatory. I'm working on a PHP engine, and I'm trying to implement a SQL query generator. The hardest part of this will be designing the system for using the SELECT command. Are there any practices that I should try to follow when designing this, or any … | |
ok i have a problem and it does not seem to be the php.ini problem. what would cause my upload script for files to not completely execute and then just show me a blank page. not file uploaded and no record to the DB. i am giving the upload code … | |
is it possible to have php code within jquery or do i have to use ajax to grab the values. ex of what i was trying [CODE] function blah() { //Creates the name tag $("#newitem").append("<tr><td><fieldset><legend><select name='produce'><option>--Select--</option><?=produce();?> </select></legend><table width='200'><tr><td>Ammount</td><td>On Hand</td><td>Cost</td></tr><tr id='txtHint'></tr>"); } [/CODE] as you can see that i have a … | |
Hi, I have a web site. On index.php I have a HTML link to admin/admincp.php By simply adding a htaccess file to the directory 'admin', will the admin directory and it's contents be fully protected? I only want it to be possible for me to access mysite.com/admin/admincp.php, because I am … | |
Hi Guys I am working on a php page that allows the user to upload files to thei proile. I managed to fina an open source upload class. Currently I have the code uploading the file to an images folder on the web server and that file is renamed to … | |
i am using the following JQuery function to successfully POST data to the user_submit.php file, its just that the php file is unable to receive the data. [CODE] $(function() { $("#submit_js").click(function() { $.post("user_submit.php", { comment: $("#comment").val() }); }); });[/CODE] upon finishing the Firebug consoloe shows this: [CODE]<html> <body> Your vote … | |
Hi i want to have PHP scripting page if SERVER A Goes down this PHP Page check the status & than Redirect user to SERVER B.... thing is that i made IIS 7 Server on my PC & some time i turn off my PC ill upload this PHP page … | |
Hey guys. I am looking for a way to send a fax message through a local machine via php, is this possible ? I have very little info about the system that requires this so i can't be much more specific. Cheers K0ns3rv | |
[B]Hi[/B] can any one suggest me how to data recieve from xml & modification xml file using php .i attached one thumbnail.i want that type of program in php...Don't mis understand wrongly.. Thanks S.mahesh | |
Hi, I use phpMailer to send authenticated email. The mail i sent goes into bulk or junk folders in yahoo and hotmail. They should go to inbox. How can i solve this problem? Thanks [code] $mail = new PHPMailer(); $mail->IsSMTP(); $mail->Host = "mail.myserver.com"; $mail->SMTPAuth = true; $mail->Username = "username"; $mail->Password … | |
Hi All... I am posting here in hopes that someone may be able to help me with this problem. I am writing an application with ExtJS and PHP. Now, I have a form that gets input from the users and one of the input required is a folder path. Just … | |
[B]Hi guys[/B] I'm fairly new to php but learning fast. Here's my problem. I have the code below in a website I made for my local pub, it works fine, but is ther a way to dynamically add another row to the table when the number of records displayed is … | |
[CODE=php]<strong><p align="center">Air Conditioner Data Update</p></strong><br> <?php $host="localhost"; // Host name $username="root"; // Mysql username $password=""; // Mysql password $db_name="onm"; // Database name $tbl_name="sims_ac"; // 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"); $a=$_REQUEST['a']; //Its getting value from previoes page echo … | |
Hey there, I'm having a little trouble with a for each loop i'm trying to use. I was hoping somebody would be able to pick out what i'm doing wrong. I'm getting this error message [B]Invalid argument supplied for foreach() on line 310[/B], which is the line that the outer … | |
Hello I am new to DaniWeb so please be gentle! I am also extremely new to PHP. Other than a couple of introduction classes I have not had much exposure...I am really trying though. Never the less, I have a web client that wants to be able to have his … | |
Does anyone know or can direct myself to a php audio character output? For example if i code this and outputs it not only visual but audio also. [code] $abc = "ABC"; echo $abc; // or even $a = "A" $b = "B" echo $A . $B; [/code] You get … | |
Hello all! I'm trying to make an IRCbot, but I have an issue I just can't seem to get through. [CODE]<?php class irc { // server connect public $host = "irc.freenode.net"; public $port = 6665; public $channel = "#dinksmallwood"; // client-side public $username = "GlennBOT"; public $hostname = "ti0184a340-0784.bb.online.no"; public … | |
hi is there code to auto reload images if it doesn't loaded at first time in users browser ? | |
Hello, does anyone know about any freeware to crate an online reservation system for hotels or something like that. The one I need should not be very complex, there are only two kind of rooms and the price system is very simple. If there is not something like that so … | |
Hi I have windows XP with service pack 3 machine. I installed Apache 2.2 and tested working fine. And then I installed php 5.3.1. When I start Apache, it doesn't start and getting get following error in popup window. "Apache HTTP Server has encountered a problem and needs to close. … | |
Hi. I am looking for support from the cakephp environment but i thought i would try DaniWeb out too :) I am learning how to add, edit and delete entries in database tables from cakephp script. So far i can add and delete just fine, but i am struggling to … | |
I am having trouble getting my if/elses to do what they should. It's probably something dumb that I'm overlooking. Can anyone help? [code] if(isset($_POST['homePageReg_submit'])) { $db = new connectDB(); $db->username = ""; $db->password = ""; $db->hostName = ""; $db->dbName = ""; $db->connect(); $rf_username = $_POST['homePageReg_username']; $rf_email = $_POST['homePageReg_email']; $rf_validateEmail = … | |
hi in my project inside Cpanel server PHP MING Extension is ok BUT in Plesk have Problem by GIF and PNG file and this file must be change to dbl to work version of Extension MING in plesk is 0.4.2 i need a script to convert online png/gif file to … | |
| Hi, I would like to add discount to an order, but the tricky bit for me is the following: **Example** 1 photo = £15.00 But for every 3 photos i want to subtract £3 and for every 3 photos after that another £3 off the total order So 3 photos … |
hi i want to pass variable from php to javascript.i want to pass my group[name please tell me.the current code is not working [CODE]<? session_start(); require_once('common/dblayer.php'); $db=new dblayer(); $id=$employer_id; $empid=$db->getgroupname($id); $groupname=$empid[0]["group1"]; echo $groupname; ?>[/CODE] javascript code [CODE] //Contents for menu 1 var menu1=new Array() menu1[0]='<a href="employercp.php">Job Portal</a>' menu1[1]='<a href="cggroup.php?id=<? echo … | |
Hi, I'm wondering what you all have got out there. I know you have the following: \t => tab \n => new line What do you have more? Anyone got a link to a webpage or a word that I could search for in google to get a list for … | |
This code is not getting values when I press update. Its showing the values from Db in fields. But at the time of update whrere I SET Values it gets null values. I am using name of input as acmake[] and then using for loop but its not working. [CODE=php]<strong>Update … | |
I need a code for log-in which will be stored as attendance for students... I am a student and i have tried so many codes but it doesn't work... i am using a mysql server for my database is it ok? | |
hi all, i want create multi language website. i need to website into dutch language. any one suggeste me ?????????? |
The End.