39,326 Topics
| |
Hallo good people, am looking for a nice code that i can wright or someone to guide me through to create notifications within my site. On top of the notifications to be displayed within my site when an event occurs within the db and therefore i would need the necessary … | |
Hi Guys, I am doing online Gift website by using os commerce.. I need to add Delivery time with Shipping Address/Delivery Address.. What are the changes i need to do and where? Can u guys plz give me some suggestions regarding this. | |
Hi All, Im trying to get my mail to display like the following From: Paul "paul@paul.com" Reply to Customer Services // with the email only showing when clicking reply my current headers are set to [code] $headers .= "To: " . $dsv_to . " <" . $dsv_to . ">\r\n"; $headers … | |
Guys, sorry if I intended to put this concern here. I know it's a wrong place, but I am desperate to find a right solution to this problem. WHY IS FACEBOOK TEXT-ONLY? I have seen forums in the Internet regarding this but none of them has ever solved my problem. … | |
how to generate id with character in php-mysql eg: LAKS01 LAKS02 LAKS03 | |
Hi all, pretty new to sql. have made code already for showing, adding and deleting data from database but can't seem to make the update work. any help is much appreciated. here's what I have: [CODE]<html><body><form action="update.php" method="post"> <label>Person ID:<br></label> <input type="text" name="personID" size="40" value="" maxlength="150" /> <label>Customer Name:<br></label> <input … | |
<?php $id=$result; $res=@mysql_query("Select * from t_stores where user_id='$id'"); print "<label>Select Company/Store </label>"; print "<select name=\"store_id\">\n"; print "<option value=''>\n"; while($row=mysql_fetch_assoc($res)){ $store_id=$row; $store_name=$row; print "<option value='$store_id'>$store_name\n"; $store=$_GET; // a noob way that above to get store_id but it wont work--> } ?> //how do i get the $store_id in the print above … | |
Hi All, I am using phpexcel to open a excel worksheet to insert some data. But I have some validation in this worksheet. I want to continue to use all validation. How can I do? | |
hi someone help me with this error:( Warning: mysql_query() [function.mysql-query]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\xampp\htdocs\CDX\class_lib.php on line 57 Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in C:\xampp\htdocs\CDX\class_lib.php on line 57 [CODE] <?php class contactdirectory{ private $db_host = 'localhost'; // Database … | |
In my full program. I managed to finish my own thesis project from a certain bookshop company. It's features has: 1.) CMS ( Catalog, Gross Revenue, Number of Users, Number of Orders, Contact details of customers, Multiple admin Accounts, update-able Currency Foreign Exchange (from Oanda.com), paypal module, one-to-one and one-to-many … | |
Hi, this works well on my localhost but when I upload it to my web server I get: Parse error: syntax error, unexpected T_STRING in /home/zupa/public_html/grafika.php on line 1 This whole xml thing is new to me and I really dont know why doesnt it work on my server (while … | |
I am reading data from a mysql db to my webpage. I wish to make a google pi-chart but have no idea how to pass the data from php (html?) to javascript(?) to populate the graph. I'm reading the rows into the html page ok, they are dispaying in a … | |
evening !! i just want to ask if can you help me on how to create graph using php ? | |
[ATTACH]22040[/ATTACH] the following code displays output as in attachment.. it skips some of the value.. in the above output, am not getting group name for DTA. but if i add [CODE]where groupid='DTA' in query[/CODE], it displays groupname. what went wrong here? please help.. thanking in advance. [CODE] while($rowmain=mssql_fetch_array($resultmain)) { $course … | |
I can't seem to get my register page working with a password. This is the query I executed: [CODE]CREATE TABLE dbUsers ( id INT(10) NOT NULL AUTO_INCREMENT PRIMARY KEY, username VARCHAR(16) unique, password CHAR(16), email VARCHAR(25) );[/CODE] It only registers if there is no password filled.. | |
I'm making a simple box in the header of Joomla that displays the total quantity and total value of the cart. It works perfectly in VirtueMart, but once I leave the storefront the (Total) value is removed. How do I fix this? I would like to set a permanent super … | |
I'm almost done making my registration system on my home server. Thanks to everyone for your help. The last thing I would like to know is why it says: Error: [U]User not added to database.[/U] This is part of my register code: [CODE] // Fields are clear, add user to … | |
I've created an html page with forms, and what I need is for each new person that clicks the 'submit' button, have the text in the fields print to a [B]new line[/B] in the output.txt file on the web host. This is what I have so far: [CODE]<?PHP $filename = … | |
Hello everybody!!! I am trying to make a site where a user can select various checkboxes and see all the products of the categories he has checked. What i have done is create as many chkboxes as the categories are <input type="checkbox" name="ch1" value="movies" /> <input type="checkbox" name="ch2" value="music" /> … | |
I have a commenting system on my website which displays the date and time of when something was commented. I have used this method to do it at the moment: [CODE] date_default_timezone_set("Europe/London"); echo $date = "posted on " . date("Y-m-d") . " at " . date("H:i:s") . "<br><br>"; [/CODE] I … | |
Hello, like before, I'm still trying to make a register page with login and logout. Here's the link to my server (If I'm not allowed to share links please remind me.) [url]http://fifarulez.dyndns.org/hacks4all.wapzan.com/registration/[/url] After the registration it will give 2 warnings. ( ! ) Warning: mysql_query() [function.mysql-query]: Access denied for user … | |
Hi I have an occasional problem with the following scripts Here is the file upload form [CODE] <?php session_start(); if(isset($_SESSION['username']) == false){ header("Location: login.php"); exit(); } if(($_SESSION['userlevel']) != 'admin'){ header("Location: login.php"); exit(); } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> … | |
<?php include "db/config.php";?> <?php function loginCheck($username,$password) { $sql=mysql_query("select UserId, UserName, Password from user_login where UserName= '$_POST[username]' and Password= '$_POST[password]'"); $name=$sql['UserName']; //echo"hi".$name; //select * from user_login where UserName='mownam' and Password='welcome' $result =mysql_query($sql); //$uname=$_REQUEST["username"]; if(mysql_num_rows($result) > 0) { echo "<center>successfully logged<br />".$uname; } else { ?><div align="center" style="background-color: #FFFFCC"style="font:"Courier New" , Courier, … | |
Hi, I have installed Netbeans IDE 7.0.1 for php application and created a demo application. When i executed the application in the browser following url [url]http://localhost/CSR/index.php[/url] and error : Oops! Google Chrome could not connect to localhost Please help. Thanks, Nikita | |
Hi, If i turned OFF in php.ini file magic_quotes_gpc = Off; my code is working finely, when by using unserialize. Problem here: If i turned ON in php.ini file magic_quotes_gpc = On; [CODE] echo "<br>"; echo "<table>"; echo "<tr><td><b>confirm</b></td><td><a href='test.php?cname=confirm&cid=".base64_encode($id)."&code=".base64_encode($pcode)."&pname=".serialize($name)."'>Confirm</a></td>"; echo "</table>"; [/CODE] ($name is an array).Not unserialised--problem here [CODE] … | |
Hello, Does anyone know how can I setup an email server on my local machine, with google or my host's server? Or do you know of any site that explains how to do that? Thanks | |
Hello! i would like to ask some codes in voting system using php, can select and determine the winner. Thank you... | |
Hello, I am experiencing a problem with running javascript code when ajax calls a file. I have a file named 'index.php' which simply loads some comments by using the file 'comment.inc.php' and run some javascript code to change the id of some div. I don't know how to let the … | |
Hello, im unsure how to fetch a database row that includes php, i have a row in my database that displays a marquee saying 'welcome $username' i have connected to the database but the php on page shows 'welcome $username' how would i get it to state the username instaed … | |
hi everyone .... how to graph data from MSSQL database using php? i research in google and i found phpgraphlib but it only graph the value of the array |
The End.