39,316 Topics

Member Avatar for
Member Avatar for adindra

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 …

Member Avatar for adindra
0
132
Member Avatar for peterv6

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 …

Member Avatar for kireol
0
109
Member Avatar for dwdata

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 …

Member Avatar for kireol
0
111
Member Avatar for dwdata

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 …

Member Avatar for Toxikr3
0
162
Member Avatar for loyaltrekie

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 …

Member Avatar for Toxikr3
0
169
Member Avatar for sharal

hello every 1 is it possible to call a user define php function on the clik event of a button

Member Avatar for sharal
0
84
Member Avatar for kingben

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?

Member Avatar for kireol
0
72
Member Avatar for karnnnnnn

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 …

Member Avatar for Bojero
1
491
Member Avatar for sharal

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 …

Member Avatar for sharal
0
243
Member Avatar for karin21

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 …

Member Avatar for aashishn86
0
422
Member Avatar for StefaRSA

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 …

Member Avatar for essential
0
158
Member Avatar for mrcniceguy

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 …

Member Avatar for mrcniceguy
0
56
Member Avatar for dilan_n

[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]

Member Avatar for Yayo_SK
0
120
Member Avatar for fireslug

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 …

Member Avatar for fireslug
0
108
Member Avatar for sarithak

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..

Member Avatar for diafol
0
101
Member Avatar for varudu

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

Member Avatar for diafol
0
92
Member Avatar for Jintu

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 …

Member Avatar for diafol
0
139
Member Avatar for AnkitKumar

[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] …

Member Avatar for ShawnCplus
0
75
Member Avatar for salibaray

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 …

Member Avatar for salibaray
1
247
Member Avatar for StefaRSA

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 …

Member Avatar for Tulsa
0
133
Member Avatar for mahe4us

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 …

Member Avatar for AXJ
0
284
Member Avatar for mattm591

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 …

Member Avatar for AXJ
0
229
Member Avatar for AXJ

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?

0
80
Member Avatar for DiyaMV

Is there emaito option in HTML available in php I want to open up outlook so that the user reviews the filled mail before sending it. I want to include table and chart also in the body of the message.

Member Avatar for FlashCreations
0
121
Member Avatar for dwdata

I am working of a musicians volunteer DB. I have a ADD Volunteer page: [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"> <!-- .style1 { font-size: 24px; font-weight: bold; } .style3 { …

Member Avatar for dwdata
0
188
Member Avatar for Barefootsanders

Hi all.. .I'm trying to use preg_split but I'm having trouble getting the regular expression I want. What I have now is a long character string, upwards of 200 characters depending on user input. I'm trying to do is break up my string an array, each element in that array …

Member Avatar for somedude3488
0
132
Member Avatar for cinemaduro

Hey all. First time poster here. This looks like a great community! I'm getting a "Parse error: syntax error, unexpected T_STRING" error. I'm just starting to get into PHP and can't for the life of me see where the problem is. This is part of the NextGen Gallery plugin for …

Member Avatar for cinemaduro
0
154
Member Avatar for Magicianer

I'm using a script called Ajax Upload to upload files. I have a div that has a php script inside so that when the page loads I can see the listing of all the files. My problem is that I want to update this list of files without having to …

Member Avatar for Magicianer
0
203
Member Avatar for thecodingbee

Hi there, i have a problem with this updater script which means that when i click update, change the record, and press submit-it says record changed or something like that, but does not actually do anything! Here is the code, it is supposed to be three files- list_file.php, update.php, update_ac.php, …

Member Avatar for thecodingbee
0
93
Member Avatar for vanessia_1999

Hi, I need a little help. This might be something simple but hard for me. I am trying to list all the name of the product which is $description and the $quantity neatly by using a table. My problem is that it is only showing one product information instead of …

Member Avatar for nish123
0
104

The End.