39,323 Topics
| |
I am trying to search for something in the database. However, this error keeps popping up. I was wondering if anyone could help me. Thanks [code=php]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body> <? $host = '127.0.0.1'; $database = 'lab11'; … | |
I am using a function in php for all select queries so that i can dynamically retrieve data from my database ..... I just wanted to know that is my code secure and efficient or if their is a better way to do this, if so please point me to … | |
hi, i have a script here which display an item name from database into textfield based on the combo box selection, i cn display the item name but my problem is i dont know how to display the item information into the textbox? i'm required to use php, hope my … | |
Hi there! My name is James and this is my first post here. Currently I'm using xampp to test and play around, but now I stuck. I have an payment processor wich needs to access my script but it's not working for localhost (of course not!). Is there a way … | |
Hi there! How can I mask an e-mail address like: before: [email]myname@myprovider.com[/email] after : m#n#m#@###rovider.### Thank you in advance James | |
Hi, This is a code of Dynamic Drop Down Option. If I select Item Code It Shows Item Name and vice versa. I need to fill option from MySQL Database. Can anybody help me out. please . [CODE=html]<html> <head> <title>Gender Drop Down Test</title> <script type="text/javascript"> function selectItem(value, id){document.getElementById(id).value=value;} </script> </head> … | |
hi all - can anyone help with the following - I am unable to upload any data to my database - I can connect successfully as i have changed the password, database name and got the error's i was expecting. but for some reason, the data just doesn't seem to … | |
i have question why i cannot query or fetch array my database content from variabel id in my database table? everytime i have sql command in my php script : [code=php]$query = mysql_query("SELECT * FROM pengunjung WHERE id='$id'",$koneksi); while($baris=mysql_fetch_array($query))[/code] [B]variable id='$id' always cannot be take out from database.. because variable … | |
First off, let me state that I have read the FAQ about this error, and have tried all the fixes, with no success. If anyone can give me a hand with this I'd be grateful. I've got some PHP web pages that connect to a MySQL database. I've got a … | |
Hi, I am trying to compile a detail page. Here is the code below: [CODE]<?php require_once('auth.php'); ?> <!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=ISO-8859-1" /> <title>Village Of Hope Worship</title> <style type="text/css"> <!-- .style13 { font-size: 12px; color: #70283C; font-weight: bold; } .style14 … | |
Hello, Great forum! I have implemented a USER LOG-IN scheme in my site. Below is the code to build my session variable data: [CODE] //Create query $qry="SELECT * FROM volunteers WHERE Username='$login' AND Password='$password'"; $result=mysql_query($qry); //Check whether the query was successful or not if($result) { if(mysql_num_rows($result) == 1) { //Login … | |
Alright let me lay out what im trying to do im just starting php and i really dont got a great handle on DB's either so any help would be wonderful. Curently i was useing an html form to have people inpout data (name,age, type of stuff) via radio buttons … | |
hello every 1 is it possible to call a user define php function on the clik event of a button | |
| Hi. How do I differentiate Internet and Intranet Page viewers? I am providing some extra privileges to the Intranet users to publish pages, while the Internet Users can only view them and not publish new pages. What's the class/functions that I should be googling for? |
I know very little about php and nothing about javascript, so I would like to stick with php.... my question is about my image gallery, I have everything functioning perfectly but I wish to have the images open in a new window when they are clicked. I would like the … | |
hi forum i was working with odbc and used odbc_exec(). but when i used this in mysql this is not working i also used mysql_query() but this is not working too here is the code [code=php]$id; $sr; $cs='fa'; $q2="SELECT MAX(ser) AS mxid FROM (SELECT * FROM Table1 AS T2 where … | |
hi guys , i have this problem dealing with php its very simple but can anyone help me with this cause im only starting to learn this language and I don’t know where to start, its all about getting data from database using combo box , for example is when … | |
HI, I am using Roshan's Ajax dropdown code for my two ajax dropdown menus. All is working fine, but when I want to use $_POST in the submitted form with FireFox, its not working...??? Its working fine in IE. Can anybody please help me with this problem? The Form where … | |
i have website,where people creates personal profiles and able to upload photos to their albums. Now i want to add a video feature,that member will be able upload his/her videos in his folder. i real dont have any knowledge with how to achive this,so any advice or links to tutorials … | |
[code=php]<?php $con=mysql_connect("localhost","root",""); if(!$con) { die('Could not connect:'.mysql_error()); } mysql_select_db(customer1,$con) $sql1="INSERT INTO details(companyname,companyadd,comstate,telephone,fax,email,fname,lname,nic,mobile,username,password);VALUES('$_POST[coname]','$_POST[coadd]','$_POST[cost]','$_POST[tel]','$_POST[fax]','$_POST[mail]','$_POST[fname]','$_POST[lname]','$_POST[nic]','$_POST[mob]','$_POST[user]','$_POST[password]')"; if(!mysql_query($sql1,$con)) { die('Error:'.mysql_error()); } echo"1 record added"; mysql_close($con) ?>[/code] | |
I would really appreciate help from anyone who can tell me how to permit a user to enter an end date, and have it accepted by the system. Currently a customer can enter a start date, but if they enter an end date that is in the same month as … | |
Hi frnds... Plz explain about RSS FEEDS... what is RSS Feeds? uses? how can i include into our web site...is there any diff types of RSS Feeds.... plz explain briefly... Thanks in advance.. | |
i am new to php i have learnt that we can make forums easily using php bb i have downloaded php bb from their site can anybody provide tutorials on how to use it | |
CAREFULLY READ ALL OF THIS PAGE BEFORE STARTING THE ASSIGNMENT Cans of luncheon meat (e.g. Spam) are quite often irregularly shaped with a special tool on top to open them: Can of Spam You can estimate the volume (in cubic centimeters) of a can of Spam by multiplying the height … | |
[CODE=php]<?php # create PHP array: $php_array = array("one", "two", "three"); # "pass" php array to JS array: echo "<script language='JavaScript'>\n"; echo "var js_array = new Array();\n"; $ix = 0; foreach($php_array as $key => $value) { echo "js_array[$key] = $value;\n"; echo "document.write("Hello Dolly");\n"; } # .....rest of JavaScript..... echo "</script>\n"; ?>[/CODE] … | |
Hi there, I'am developing a system for banner selection (affiliates) and I have tested the system throughly on my local machine and everything works just fine, but when I have uploaded it to my GoDaddy account and tried to use my system I got the following error: Warning: mysql_fetch_array(): supplied … | |
HI, I am using Roshan's Ajax dropdown code for my two ajax dropdown menus. All is working fine, but when I want to use $_POST in the submitted form in FireFox, its not working...??? Its working fine in IE. Can anybody please help me with this problem? The Form where … | |
Hi to all, I would like to give a feature for users while they are uploading their pictures. Suppose if the user uploaded a picture, then the user has facility to change the uploaded picture into horizontal mirroring and vertical mirroring. Once the user changed the image to his wishes … | |
Hi, I've created a web site that I am having mirrored on several servers. I would like to have one main page that users go to that then connects them to the fastest mirror. So, what I (think I) need to do is have a database or list of all … | |
Hi, I am one of the AXJ webmasters and want to set it up in the grey colors to match all the different sites in different languages. Does someone have experience in multi-language forums? |
The End.