38,021 Topics
| |
I am looking at building a website that will allow people to sign up and post stats every week about others. For example, Joe has a show dog and likes to compete so Joe comes to to the site and posts. Dog Name: Breed: Weight: Skills: Week 1: Fastest lap … | |
I have the following code to bulk upload to several different tables [CODE]<?php /* Script to bulk import users into a Joomla installation (v 1.5). */ // Hande form upload if(isset($_POST['import'])) { $mysql_host = trim($_POST['mysql_host']); $mysql_user = trim($_POST['mysql_username']); $mysql_password = trim($_POST['mysql_password']); $mysql_schema = trim($_POST['mysql_schema']); $table_prefix = trim($_POST['table_prefix']); if(!mysql_connect($mysql_host, $mysql_user, $mysql_password) … | |
Hi, In my system,when i submit my form there is a message comes as "A new account number 1 is created successfully. Thereafter when i try to click on the "refresh" button another new account number is automatically created. Can anyone give some piece of code to avoid that problem? … | |
I am receiving the following error: Notice: Undefined offset: 1 in /home/content/53/7382753/html/Summer/wootsummer.php on line 68 Error, insert query failed on my code that is live at [url]http://obsidianpunch.com/Summer[/url] The offending line is [code]$topnow=$top[$countforme];[/code] however $top and $countforme are defined, so I am not sure why this is causing an error. Any … | |
I am playing a web-based game and i want to know if Php is capable of doing this problem this are the conditions: 1. there will be 3 text-areas a. the 1st will contain the guild's members b. the 2nd will contain the enemies c. the 3rd will contain the … | |
My professor gave us a sem-long project, before he introduce us php.. so here it goes create a dynamic website with the following situation 1. there will be an existing database, the database contains the following a. student name b. student id no. c. address d. other personal info 2. … | |
Hi Frendz, How to find the javascript is enabled in the browser or not? | |
Okay, here's the scenario. The same user accesses the same form a second time in order to place a new order. Both the new order and the old order are stored in a MYSQL table (called "orders"). My thought is that, when the new order is placed, I need to … | |
Hi, How to avoid the data insertion in mysql tables by refreshing the page using php. I am not redirecting my page. I am using $_SERVER['PHP_SELF'] in form action. Please help me out. its very urgent | |
Hi... I want to find out whether a file is existing or not The file is stored on another machine in the same network . I tried the following code.But always showing "The file is not existing". [CODE] <?php $filename = 'file://192.168.0.15/E:/PDF/p.pdf'; if (file_exists($filename)) { echo "The file $filename exists"; … | |
I have this bit which I have actually only tried in Google Chrome, but it works finte there: Im using ajax to get data from the Db, when popuating one select list based on whats selected from another: But in Internet Explorer 9, it doesnt work: [CODE] // JavaScript Document … | |
the code in php: name it as postback.php [CODE=PHP] <?php $q=$_GET['q']; $query_type=$_GET['query_type']; $words=explode(' ',$q); $con = mysql_connect('localhost', 'root', '')or die('Could not connect: ' . mysql_error()); mysql_select_db("clc_books", $con)or die('cannot connect'); $q = preg_replace('/\s\s+/', ' ', $q); // remove extra space echo "<table border='1'>"; echo" <tr> <th>book id</th> <th>book number</th> <th>book name</th> … | |
I am using Joomla with the Ambra Subscriptions module to accept payments. When a new customer signs up and makes a payment, their account is not being automatically activated. I find myself having to activate every account manually after a new customer complains that they can't log in. Under 'Site … | |
Hi, I want to make my website in two language. I need to make library for both of language. And I get template of those library with extension .mo. And those library are included in file .php. I want to make a new library but I can't open and create … | |
Hi There, I have an XML file and I list them by check boxes, categorized by their parent (branch). After selection of the check box, I take them and give the values `$branch`(only one at a time) and `$roles`(can be many eg. SBP|BNA) to web services. And run this web … | |
- I have the problem where my update is not not working.Anybody can help me... FORM <code> <?php session_start(); include ("../entity/login_class.php"); include ("../entity/admin_class.php"); include ("../entity/customer_class.php"); $Customers = new Customer(); $id = $Customers-> getCargoID(); $Customers ->getCargo($_GET['id']); $id = $Customers->getCargoID(); $cargoCode = $Customers->getCargoCode(); $cargoDesc = $Customers->getCargoDesc(); ?> <form method="post" name="updateCustomer" id="updateCustomer" action="../controller/customer_control.php" … | |
I want to know a site from which i can get free domain , except "co.cc" . ????? | |
Hi , i am using mssql. I had a field with datatype [B]datetime[/B]. [CODE]My php coding: $requested=date("d/m/y : H:i:s", time()); i am using this query insert into tbl values('$requested')[/CODE] while inserting into my mssql table, i am facing the following error Warning: mssql_query() [function.mssql-query]: message: Syntax error converting datetime from … | |
Hello, please help me,i want a search on my website,user type any key word then select the city from the dropdown list,now the search is restricted to the selected city, now kindly guide me how can i get product name and price in the select city through rss . note … | |
Hi I am trying to connect my server through PHP script as below. But i am unable to reach my server and getting error. If i connect my server through ftp software with [B]FTPES[/B] protocol my server is getting connect I am getting an Error as [B]"Warning: ftp_connect() [function.ftp-connect]: php_network_getaddresses: … | |
Hey first of all THX ;) @ add product.php wen i browse image and go save i have this error : [B]Fatal error: Call to undefined function imagecreatetruecolor() in C:\wamp\www\plaincart\admin\library\functions.php on line 228[/B] [CODE]<?php /* Check if a session user id exist or not. If not set redirect to login … | |
Hi In my site I have a search function but have hit on a problem that I can only partly solve. A user makes a search - one or more results are returned. A user can click on an entry and view additional resources on a new page (word2.php) (that's … | |
| I am fairly new at web developement. I created a web site for the dealership in which the dealer can list used motorcycles for sale along with a picture of the motorcycle. Currently, the client emails me the year and model information, the asking price, and a jpg picture file … |
I m getting this error while using http api.. i cant use post method..... what changes should i made to rectify this error..!! thanks.! | |
I'm using Microsoft tags to get the cell phones unique "did' number loaded into a htm form field. The customer is then asked to enter thier email address on the form. The form is then submitted to be added to our customer mysql database. If it's new it is added … | |
Hi, I tried a auto-comment bot for wordpress(in my website) and coded it. My plan is that I write names in names.txt file and sample comments in comments.txt file(a name or comment per line) and it will add a random comment with a random name into Wordpress's database in wp_comments … | |
Hi, I am having a table A...and i am copying(inserting) the content of the table A to the empty table B.I am doing changes in the values in table A ....but my table B always should remain constantly ...the changes done in table A should be reflected to the table … | |
What is the wrong code here? [CODE]mysql_select_db($database, $check); $id=$_GET['post_id']; $query_getID = "SELECT * FROM news WHERE post_id='$id' LIMIT 1"; $getID = mysql_query($query_getID, $check) or die(mysql_error()); $row = mysql_fetch_assoc($getID); $totalRows_getID = mysql_num_rows($getID);[/CODE] [CODE] <b class='title'><a href="newsevents.php?post_id=<?php echo $_GET['post_id']; ?>"> [/CODE] | |
From last few months I'm trying to create my own WEBMAIL system from scratch. I'm using IMAP, POP3 with php/mysql coding but failed to create. Somebody Help me to create [COLOR="Red"]WEBMAIL system [/COLOR]from scratch. | |
I am building a site and very often change my mind on something and changing all over again. So I am wondering if things such as a google gadget, does it have to be actually written inside the html or can I just insert it through php, so I can … |
The End.