39,320 Topics

Member Avatar for
Member Avatar for pebesoft

Hello all, Think I am going mad I want to do a simple update and get a parse order at line 1. 1: UPDATE ir312 // the table name 2: SET 3: R3_21 = $tot // R3_21 is the field name, $ tot is an amount 4: WHERE irdnumber=$irdnumber The …

Member Avatar for pebesoft
0
121
Member Avatar for piepie22

Hi All, As the title says. Have been looking for solution these past 2 days, Salary Record are pulled from database (MySql) in to PHP table (do/while loop). - Name , Salary , OvertimePay , Subtotal , MedicalDeduct , UnionFeeDeduct , Tax , Grand Total - Peter , 1300 , …

Member Avatar for piepie22
0
131
Member Avatar for mudage10

Hello all, my lecturer had asked me to encrypt the message using PHP codes i.e to design a website so that someone must be able to send message and appear to DB as an encrypted message using such encrypted method. I don't know how to do or where to put …

Member Avatar for almostbob
0
95
Member Avatar for sha1023012

I am working on this code for php with HTML now i want a container around the information but it is not turning out. Can someone help me understand what I am doing wrong. Should my HTML code suppose to be at the top of the page or not. Here …

Member Avatar for sha1023012
0
146
Member Avatar for jacob21

Hi,I m working on a software product.Its working fine in localhost but not working on server. Need help

Member Avatar for ko ko
-1
140
Member Avatar for Sorcher

I dont know why this code will not show any data from the mysql......................... [CODE]$query = "SELECT * FROM g_attack WHERE winner ='$username' ORDER BY created ASC LIMIT 10"; $row = mysql_query($query) or die("Could not connect to db"); while ( $result = mysql_fetch_assoc($row)) { $created = $row['created']; $looser = $row['looser']; …

Member Avatar for Sorcher
0
60
Member Avatar for preston326

Hello, this error has been torturing me for an hour... [I]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''lock'='0' where pmID='206'' at line 1[/I] This is the code: [CODE] else { print "Žinutė …

Member Avatar for preston326
0
99
Member Avatar for dhruv_arora

Here's my code and I am getting an error undefined variable, this code submits the information submitted by the user to a mysql database. [CODE]<?php include("header.html"); include("nav.html"); include("sidebars.html"); ?> <?php $errors=array(); if(isset($_POST['submitted'])){ if(empty($_POST['fname'])){ $errors[]="You forgot to enter first name"; } else{ $fn=$_POST['fname']; } if(empty($_POST['lname'])){ $errors[]="You forgot to enter last name"; …

Member Avatar for SRocks
0
209
Member Avatar for premier213

i am problem with line 3462 ?! :@ [CODE]<?php function trigger_db_error($obj) { global $CFG; $error_arr = debug_backtrace(); $subject = 'Report bug - Sql error - {site_url}'; $content = '<u><b>Url :</b></u> {current_url} <u><b>Error File :</b></u> {file} <u><b>Error Line No :</b></u> {line} <u><b>Error Description:</b></u> {error}'; $frmobj = new FormHandler(); if(isset($CFG['site']['current_url'])) $frmobj->setEmailTemplateValue('current_url', $CFG['site']['current_url']); …

Member Avatar for diafol
-2
773
Member Avatar for dhruv_arora

Hey, I am new to PHP and I wrote this it supposed to validate the from and add the errors to an array variable (which will be showed on later), I am having problems on line 41, when I run the script it says [B]Parse error: syntax error, unexpected '{' …

Member Avatar for dhruv_arora
0
79
Member Avatar for dyingatmidnight

I'm finding that my session variable isn't following through from script to script. I'm creating a library database for school and I want the administrator to be able to open user accounts and view the details. This works fine. I then set the account number as a session variable for …

Member Avatar for dyingatmidnight
0
528
Member Avatar for aithabuddy

Hi, Can any one helps me in the apache redirecion of 'http://www.xyz.com/abc/function.mysql-select-db/dfg' to 'http://www.xyz.com/abc/dfg', and 'http://www.xyz.com/abc/function.mysql-connect/dfg' to 'http://www.xyz.com/abc/dfg'. I want a single rule for the both redirections. Thanks in advance.

Member Avatar for twiss
0
52
Member Avatar for mahmudfaisal

[U][B]suppose i have a page like:[/B] [/U] ----------------- name | id | --------------- mark | 0253 edit ------------------- jack | 205 | edit ---------------- [U [B]when i am in edit form of this page:[/B][/U] name : mark id : 0253 school : Divine international ---------- Things ---------- stick (edit) (del) …

Member Avatar for vibhaJ
0
143
Member Avatar for iamthwee

Just like java applets seem to have had their day... is flash going the same way (no support on the ipad?) Is this a concern for designers who use flash. I use flash actionscript 3.0 occasionally. What are your thoughts?

Member Avatar for diafol
0
146
Member Avatar for bangla

Hi, Below code Insert fine but after insert, i like to see a message "insert passed" or "insert failed" if failed. I think i need to have if else statement. not sure how to do that. thanks. --------- <? mysql_connect("host",$username,$password); @mysql_select_db($database) or die( "Unable to select database"); $query = "INSERT …

Member Avatar for charlybones
0
91
Member Avatar for destroyerx15

hi im working with two form the first form is to insert cheek box into db so the first code i write like this : [CODE]mysql_select_db("project", $con); if(count($orders)>0) { foreach($orders as $key=>$order) { $query="INSERT INTO orders (ORDER_DESC) VALUES ('".$order."' )"; mysql_query($query) or die ('Error Updating the Database' . mysql_errno()); } …

Member Avatar for madCoder
0
90
Member Avatar for didi00

Hi everyone. Hopefully this will be the last thing that I need to do to my shopping cart. Basically I have a product details and it gives me the actual picture in its actual size. In order to look more neat, I want to make the pictures to be like …

Member Avatar for didi00
0
288
Member Avatar for Jaklins

My php code for upload is supposed to filter out images with file extentions different than the ones below and bigger than 5 Mb. It's a normal post fileField form in html that runs this php script. It works like a charm on Firefox and Chrome, but for some reason …

Member Avatar for Jaklins
0
701
Member Avatar for haimz

Hello i'm working on forum, and the topics content sometimes got images thats bigger then forum warper i need to reduce them by PHP lets say that the content is $row['content']; please help .

Member Avatar for ko ko
0
104
Member Avatar for IWDesigns

hi guys, i hope this is the right place, ive been offered to write somethin to allow credit card payments on a website, but ive never worked with cc before. i have made gateways for paypal and moneybookers before but i think theres a lot more to it for credit …

Member Avatar for twiss
0
121
Member Avatar for branding4you

I want to keep what the user selected so when he clicks back and goes to my search the values are still there, have three listboxes. Country, State, City Country Listbox [CODE] <select name="country" id="country" onChange="filter_state();"> <?php echo "<option selected>" . $_POST['country']; "</option>"; $sql = "SELECT * FROM tbl_country"; $result …

Member Avatar for IIM
0
137
Member Avatar for sainigks

Hi, i want to make a script which manage registered user. so for that i need to include files in php. it is simple to include any file by include function . but i want to include a file by class in php. Please tell me how can i do …

Member Avatar for blocblue
0
107
Member Avatar for newbie14

Dear All, Here is my link [url]http://183.78.169.53/scv/a2.php[/url]. You can just fill a text value into the A1 input box. Then just select the vehicle drop down list and will see a master list filled via ajax. Just pick any master list and submit the form. You will notice the masterID …

Member Avatar for ko ko
0
97
Member Avatar for baig772

i m creating a new row onclick containing 3 drop downs in it, if i add 3 rows drop downs are shown but thier names are same, how can i change the name of every drop down in each row so that it can be handled on php page? any …

Member Avatar for diafol
0
93
Member Avatar for wiredtec

Were and or how can i get an iframe for my site? and how do i add it to all my outgoing links.

Member Avatar for almostbob
0
94
Member Avatar for BaSk

I have a php function that list all of the countries from my database as a select option, then based on what the user selects for their country im using jquery to make an ajax call and get all of the states/regions for that country. This part works fine. I'm …

Member Avatar for Airshow
0
169
Member Avatar for IROC_69

hello i am all new to web designing si i need a little bit of help i want to these kind of thing on my page [CODE] <a href="http://s934.photobucket.com/albums/ad182/junaid69/?action=view&amp;current=Untitled-3.jpg" target="_blank"><img src="http://i934.photobucket.com/albums/ad182/junaid69/Untitled-3.jpg" border="0" alt="Photobucket"></a>[/CODE] and this [CODE] <a href="http://s934.photobucket.com/albums/ad182/junaid69/?action=view&amp;current=Untitled-3-1.jpg" target="_blank"><img src="http://i934.photobucket.com/albums/ad182/junaid69/Untitled-3-1.jpg" border="0" alt="Photobucket"></a>[/CODE] u can see these in action on [url]www.ign.com[/url] …

Member Avatar for twiss
-1
106
Member Avatar for iamthwee

Does anyone know of any good links to in-depth tutorials on Wordpress customization. Obviously there is google but I wondered if anyone else had any better links. Cheers.

0
71
Member Avatar for iamthwee

Seems like more websites (particularly aesthetic ones) use web font embedding. Google, appears to be serving these fonts. What are your thoughts on using them? [url]http://www.google.com/webfonts[/url]

Member Avatar for iamthwee
0
145
Member Avatar for mangel.murti

hi all, this function working fine but when click on pagination number on webpage previous number is not disable any help appre.. [CODE]function show_paging($recordset_name=""){ if($recordset_name==""){ exit; }else{ $Prev_Link = ""; $Next_Link = ""; $Page_Link = ""; $Query_String = ""; $Post_Vars = ""; $TotalPages = $this->RESULTS[$recordset_name]['total_pages']; $Current_Page = $this->getCurrentPageName(); //echo $Current_Page; …

Member Avatar for mangel.murti
0
112

The End.