39,393 Topics

Member Avatar for
Member Avatar for ceeandcee

I would like to query a set of values from a db....say GP1011_wk1 and this would yield 11 results. I then sum them together and get a value that i can echo. No problem so far. My question is, can i now take this calculated value from the query and …

Member Avatar for chrishea
0
80
Member Avatar for nimuns

so, im working on an online shopping site. the problem is , i have already made an html site, but i have to run it on xampp localhost, what i do is, since i already made an html file, i just copy it to new php file and save it, …

Member Avatar for theonly
0
96
Member Avatar for prem2

Hi, I am going to implement the Oops conecpt in php .So i written the below program it did not printing the values.Can any one say why this value is not printing . [code] class simpleclass{ echo "Hai how are you i am fine"; } [/code] Thank you, With Regards, …

Member Avatar for diafol
0
274
Member Avatar for george61

This is some PHP search code with some mistake. $run gives nothing where $run = mysql_query($construct); It gives: Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\xampp\search\search2.php on line 39 No results found. [CODE]<?php //get data $button = $_GET['submit']; $search = $_GET['search']; if(!$button) echo "You didn't submit …

Member Avatar for george61
0
183
Member Avatar for atikah8890

I am working on a login page and its process and started having problem where the browser cannot detect the new changes I made to my PHP file. Here's the HTML code for the login page (ptLogin.php): [CODE] <form name="ptlogin" method="post" action="ptLogin0.php"> <div align="center" class="style2"><br> <table width="330" border="0"> <tr> <td …

Member Avatar for atikah8890
0
115
Member Avatar for alaa_steel

[CODE=php] if(mysql_query("update book set hometel='".$edit_hometel.",worktel='".$edit_worktel."', fax1='".$edit_fax1."',fax2='".$edit_fax2."',pobox='".$edit_pobox."',email='".$edit_email."' where name=".$row['name']." and hometel=".$row['hometel'])){ echo "<font face='arial narrow' size='3' color='#ffffff'>The Record has updated succesfully.</font><br>"; echo "<a href='index.php'><img src='images/buttons/continue_butt.gif' border='0'></a>"; }else{ echo "<font face='arial narrow' size='3' color='#ffffff'>An error has occured. Updating record failed.</font>"; } [/CODE] All Variables' names are right but it dosn't update the …

Member Avatar for zimah
0
198
Member Avatar for sallecpt

HI there Could someone PLEASE help me; I have a drop-down menu on my site and when I hover, the drop-down goes behind the content. This is the address : [url]www.beds24.co.za[/url] I dont know how to fix this, I've tried so many different settings. This is my CSS file. The …

Member Avatar for P0lT10n
0
150
Member Avatar for idskot

Hey, guys. I'm building a really simple member register / login, based off some other code. I added it to the server and set up the DB properly, and now I'm having an issue. Whenever I go to register a new user, it says the user field is not filled …

Member Avatar for theonly
0
116
Member Avatar for marisha5

Hello, I am designing a data-entry form with the following characteristics 1) The user enters the number of rows he wants to enter 2) Based on the entered value I am generating a table kind of structure 2.1) I am dynamically generating a drop down list that is being populated …

0
43
Member Avatar for sameeya007

for($y=1;$y<=$x;$y++){ $query="insert into attendance values('$admission_no[$y]','$date','$state_id')"; $result=mysql_query($query); }

Member Avatar for paulrajj
0
104
Member Avatar for bowhunter-mo

I need to write code to have a search box that will search a mssql database.

Member Avatar for Stefano Mtangoo
0
162
Member Avatar for Ghost

Hi, I'm trying to fully automate my website, and I'm trying to delete a line from a file that matches the line in a given String. For example, I have a txt file named toApprove.txt containing a list of names such as: [CODE] John Joe George Jake [/CODE] The file …

Member Avatar for mschroeder
0
5K
Member Avatar for muneer_alam

Hello all of you,,,,,,,, Currently i am facing a problem.....problem is that.i am using two table admin or customer.I have one form.....i want when i select admin button then it will insert the values into admin table and when i will select customer button then it will insert into the …

Member Avatar for mahmoud_wow
0
154
Member Avatar for nonshatter

Hi all, I have a fairly simple problem. I have an array which prints out the following text: [CODE]1 Full, Gen. 3 TMSWK2D 9 Poor write quality 2 Full, Gen. 1 TMSWK2C Read Only, Clean Tape[/CODE] The problem is after some of the lines of text, there are empty values, …

Member Avatar for mschroeder
0
137
Member Avatar for lsmith93

I have built a website using php include and i want to know if there is a way that i can include keywords?

0
114
Member Avatar for nsam

Please help out as i am a beginner in PHP I have a table with the name doinfo with the fields doctor,hospital, and city. What I want is that when I select city from the dropdownlist, it should give me its details i.e the doctor and hospital. I am able …

Member Avatar for nsam
0
1K
Member Avatar for trilithon

Hi All, I am having trouble in updating a table. The form consists of check boxes that are populated from the first query. I need the form to submit in itself and set the checked fields to 1 and the unchecked to 0. Any and all help will be appreciated. …

Member Avatar for trilithon
0
104
Member Avatar for ahmedeqbal

Hello dear friends, I’ve one problem. I hope you guys help in this…! Actually, I have two array. One array carry ‘title’ of my sms text messages. Second array carry ‘description of sms messages. Problem is that…! i want to got these two array result in my foreach loop. As …

Member Avatar for ahmedeqbal
0
104
Member Avatar for terrymold

Hi everyone I have a PHP Class file (salat.times.php) that accepts a few User Inputs, one of which is a Date in the format dd-mm-yyyy. The date is used for a part of the class and is fine. In another part of the class, there are a number of Time …

Member Avatar for terrymold
0
115
Member Avatar for arunpatyal1987
Member Avatar for akvlko

Hi Friends I'm seeking for a Editor by which i can view my web pages in design mode something like Dreamweaver in Windows.

Member Avatar for mahmoud_wow
0
86
Member Avatar for ZacharyMason

I need an Event Registration Script that allows for payment with Paypal & saves form details and Paypal transaction ID to my MySQL DB After the payment has been finalized. I want to have ppl be able to register for camp, and with that choose if they want to preorder …

0
81
Member Avatar for dschuett

I have a mysql table full of pictures(their path) that are owned by many different users. I need to run the following query and return the results into a 5 column table. The number of rows will be however many it takes to display all the pictures. My query is …

Member Avatar for vibhaJ
0
176
Member Avatar for Smudly

Hi, I have some queries that update some statistics in a table I have. I need these queries to run only after 15 seconds have passed however. This way if the user leaves before the 15 seconds, the queries won't run. I've tried using Sleep, however it seems to just …

Member Avatar for james.newell
0
89
Member Avatar for aizel

hello sir..i am wondering how to calculate between two dates..here is my code: [CODE] <input type="text" name"date1" value="mm/dd/yyyy"> <input type="text" name"date2" value="mm/dd/yyyy"> <input type="submit" name"calculate" value="calculate"> <?php echo $answer;?> [/CODE] example value of date1 is 09/26/2010 example value of date2 is 09/27/2010 so the answer should be 1 by subtracting …

Member Avatar for fredrickprem
0
179
Member Avatar for mpc123

Im trying to get the queries and results to load quicker. I have 10 of these after each other with slightly different queries, how can i optimize this please, i have tried removing select * and entering the field names require (which is about 9 rather than the 40 with …

Member Avatar for pritaeas
0
140
Member Avatar for Puster

Hei! I am worcking at the moment my website for my gaming clan [url]http://www.physicgaming.com[/url]. I'm working now on making a script that display results from the database ([url]http://www.physicgaming.com/site/results.php[/url]) if you visit the site you see a big gray table, but this should be only 3 tables and not one big, …

Member Avatar for pritaeas
0
1K
Member Avatar for luckybutlost

Hi, I am trying to get some xml data using a jquery .post request, but it's not outputting anything. The client-side code looks like this [CODE] <html> <head> <script type="text/javascript" src="jquery-1.4.2.js"></script> <script type="text/javascript"> function cstarter() { window.einterval = setInterval("cst()", 5000); window.big = "hi"; } </script> <script type="text/javascript"> function cst() { …

Member Avatar for Taywin
0
109
Member Avatar for selladurai

hi, I set Cookie in my program. it's working but one problem. when i reset(change password) my password. but cookie not reset(password) how i set new password to cookie.

Member Avatar for P0lT10n
0
19
Member Avatar for taimeyj
Member Avatar for P0lT10n
0
158

The End.