39,316 Topics

Member Avatar for
Member Avatar for Jay_H

how can i get value from following three table?. 1.In item table i want following field. A.item_name B.item_price C.image_path 2.In orderdetail i want following field. A.Quantity * orderdetails field is like that 1.Orderdetail_id 2.Item_Id 3.order_id 4.amount 5.Quantity 6.status

Member Avatar for tomato.pgn
0
60
Member Avatar for sawjuk

Helo guys, which is the most comfortable version of wamp server to use?? Thanks

Member Avatar for tomato.pgn
0
68
Member Avatar for Nybuler

Hi all, i'm building a simple date input with php using drop down list box the problem i faced is "leap year" how do i display 29 day in the drop down list box while user selected a leap year if user make an option on day first then only …

Member Avatar for Nybuler
0
485
Member Avatar for McLaren

Hi, I am trying to install PHPUnit and having problems. I get many errors: # pear install phpunit/PHPUnit phpunit/PHPUnit can optionally use PHP extension "dbus" phpunit/PHP_CodeCoverage can optionally use PHP extension "xdebug" (version >= 2 .0.5) downloading PHPUnit-3.5.13.tgz ... Starting to download PHPUnit-3.5.13.tgz (118,553 bytes) ..........................done: 118,553 bytes could not …

Member Avatar for McLaren
0
195
Member Avatar for d4n1s

Well I get CURRENT_TIMESTAMP and compare it with date() function and they are not the same to get more into details. I do $sql=mysql_query("UPDATE time SET date=CURRENT_TIMESTAMP" WHERE id='1'); than I retreive the data $data=mysql_fetch_array($sql); echo $data['date']; echo date('Y-m-d H:i:s'); there is a difference of 6 hours. I guess its …

Member Avatar for vibhaJ
0
119
Member Avatar for bobgodwin

I'm building a web page that gets information from a mySQL database. It's setup like this: [CODE]<?php if ($act == "") { //// Get the index page $myQuery = "SELECT * FROM $menu WHERE control='index' "; $result = $dbh->prepare($myQuery); $result->execute(); while($row = $result->fetch()){ $page = $row['title']; $myQuery = "SELECT * …

Member Avatar for hielo
0
144
Member Avatar for klemme

Hi, I have this code that adjusts the position of the subjects and the pages in my site. This is working where the value of the radio button = 1 (which is = showing, in the database - And 0 = Not showing) And I am talking about pages for …

Member Avatar for klemme
0
219
Member Avatar for BOOGIEjo

hi guys! im noob in php. Could you please help me in uploading then reading text file in php? Heres the example format in text file: 201005040939040105-646A Then this must be posted to a table(<table></table>). Example: | 20100504 | 0939 | 040105-646 | A | separated by 5 columns. First …

Member Avatar for BOOGIEjo
0
122
Member Avatar for xiiopao

anyone here who've already encountered this error?? Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\wamp\www\new\orderprocess.php on line 25

Member Avatar for xiiopao
0
159
Member Avatar for stevenfagan

Is there is any way to either change the inner content of a new php page to whatever you want in dreamweaver OR create a template for a php page that is completely customizable and doesn't have those nasty templatebegineditable & templateendeditable html comments in there. If so, how?

0
124
Member Avatar for cliffcc
Member Avatar for sandersen

Hello, I'm having difficulty getting my PHP code to read my HTML check-box code. Basically, when I submit my test form I get the following error message, Warning: Cannot modify header information - headers already sent by (output started at /home3/seguemin/public_html/feedback.php:83) in /home3/seguemin/public_html/feedback.php on line 110. I am very new …

Member Avatar for ko ko
0
125
Member Avatar for johndohmen1963

Hi Hope thet someone can help me with folowing I have a mini event calender but i want to show te even into a popup but i can't fiux it i have here the code [CODE]echo "><a href='".$_SERVER['PHP_SELF']."?month=".$monthstring."&day=".$daystring."&year=".$year."&v=true' onclick='Popup.showModal('modal');return false;'>".$i."</a></td>"; } echo "</tr>"; ?> </table> <div id="modal" style="border:3px solid black; …

Member Avatar for tomato.pgn
0
97
Member Avatar for jimmyo88

Hello, I am retrieving code from a database and my resulting array is as below. [CODE]Array ( [0] => Array ( [0] => False [1] => True ) [1] => Array ( [0] => True [1] => False ) [2] => Array ( [0] => False [1] => True ) …

Member Avatar for jimmyo88
0
169
Member Avatar for seuntech

please i need your help. i need to output the result below in this format $array = array('45', '92' , '91','94', '90', '12', '104', '105', '93'); [CODE]$checkfresult = mysql_query("SELECT name, state FROM users"); $users = array(); while($thecount = mysql_fetch_assoc($checkfresult)){ $users[] = $thecount; }; $array = array('45', '92' , '91','94', '90', …

Member Avatar for seuntech
0
70
Member Avatar for amanu092

I am using joomla 1.5.22 version.whenever i try to save any changes in global configuration in joomla's backend it redirects me backend's home page without saving the changes also when i try to add a contact it redirects me contact manager without adding contact what the problem?please help.

Member Avatar for Kraai
0
133
Member Avatar for Tabone3

I never uploaded a file before and I'm finding some problems regarding uploading a file in a directory which have some security. I searched on the internet and I found out that I need to make use of [I][B][U]chmod[/U][/B][/I] php function however I have been fighting against my computer for …

Member Avatar for tomato.pgn
0
237
Member Avatar for 68thorby68

I have got myself in a bit of a mess creating a dynamic form and not knowing how to get at the resulting data. I am creating a dynamic form from a mysql database, in order to allow the user to edit and re-store their data. Database is quite simple: …

Member Avatar for 68thorby68
0
122
Member Avatar for 54uydf

Hi,I put many tiny forms on one of my pages, all have the same action to return to this page when submitted <form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>"> but how can I know which one was submitted? I used this line all this time when I had only 1 form …

Member Avatar for Killer.bee
0
149
Member Avatar for rajdevsohail

i actually want a user to select a file to upload to my webspace , and while uploading it is renamed and at end it will display a url to the user which contains php variables ( (depends on the file name) .. i have made a form (for the …

Member Avatar for rajdevsohail
0
243
Member Avatar for sajidk25

Hi, I want develop a web site which contain database driven report and chart etc. Database for I intent to use for my application is MSSQL 2005. Plz give me a step by step guide line to configure PHP,MSSQL and Xampp etc. I am using windows 7 ultimate and xampp-win32-1.7.4-VC6. …

Member Avatar for sajidk25
0
155
Member Avatar for CFROG

Does anyone feel that Cake is worth the trouble it takes getting used to it? I don't mind putting the time into learning it as long as it pays off in the end. They claim you are up and running faster and spend less time re-inventing the wheel and while …

Member Avatar for johnbo100
0
126
Member Avatar for tcollins412

lets say i have a get variable:[CODE]$goto=$_GET['goto'];[/CODE] and i have a array [CODE]$sections= array('fail' => fail());[/CODE] how would i make it so when the $goto=fail, it does the function fail from the array?

Member Avatar for Killer.bee
0
123
Member Avatar for Killer.bee

hello i want help to design a script for banning ip's and also range of ip's.... Hope that somebody may come out with a solution to do this ....

Member Avatar for tomato.pgn
0
117
Member Avatar for flynismo

I have resolved a couple issues on my site thanks to you all, and hoping that you can come to my rescue one last time, because I am at wit's end trying to figure this one out. I have a shopping list on each page. Normal grocery store items; users …

Member Avatar for hielo
0
149
Member Avatar for turt2live

Hello, In my code I am getting this error: [CODE]Warning: mysql_connect() [function.mysql-connect]: User turt2liv_demo already has more than 'max_user_connections' active connections in /home/turt2liv/public_html/demo/jamond_website/class.php on line 11[/CODE] That method looks like this: [CODE]//Constructor function __construct($debug){ if(!$debug){ $debug=0; } mysql_connect("localhost","turt2liv_demo","demoacc") or die("Connection Error: ".mysql_error()); mysql_select_db("turt2liv_demo_jamond_website") or die("Selection Error: ".mysql_error()); error_reporting($debug); date_default_timezone_set("America/Edmonton"); if($this->isLoggedIn()){ …

Member Avatar for turt2live
0
111
Member Avatar for Sarao

Hello, I have following page which shows 10 records per page (pagination) what I want is, it gives me a total of "Total (Price+Shipping)" at the end of the page. How can I do that? I am trying hard but with no access [code]<?php include('connect.php'); ?> <?php //This checks to …

Member Avatar for tomato.pgn
0
204
Member Avatar for andy106

Hi I have added the following code to my htaccess : RewriteEngine On Options +FollowSymlinks RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.php -f RewriteRule ^(.*)$ $1.php RewriteRule ^/*(.+/)?([^.]*[^/])$ http://%{HTTP_HOST}/$1$2/ [L,R=301] the above rule just makes the url more SEO friendly so for example [url]www.domain.com/home.php[/url] will become [url]www.domain.com/home[/url] BUT when I have a …

0
109
Member Avatar for nats01282

Hello i am creating a small forum and having trouble with the user sign up form. i have the start of a sign up form on the index page then that jumps to the sign up page with more info, e.g... index.php [CODE] <form action="signup.php" method="post"> name: <input type="text" name="name" …

Member Avatar for nats01282
0
94
Member Avatar for ayathullah

Hi, I'm using Drupal6 with the twitter module. How do you set up a rule to post a message to the current user's Twitter account? At the moment, the form in the "Post a message to Twitter" action only permits a absolute value. I want to use a token for …

0
93

The End.