- Strength to Increase Rep
- +6
- Strength to Decrease Rep
- -1
- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 2
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Programmer, BOOMj.com
- Interests
- anything LAMP
- PC Specs
- 64-bit Ubuntu 8.04 (Hardy) GNOME 2.22.3 AMD64 X2 Dual Core Processor 5600+ 7.8GiB RAM GeForce 9400 GT…
Re:
Hello, I am doing some search in which my requirment is to search between specific dates. Like user can put start date and then end date. Once submit then it should find result between these two dates. [QUOTE]Select from table where date1>2001-01-05 And date2< 2001-02-05.[/QUOTE] Will this above statement will … |
|
Re:
I am getting this problem when i submit an online inquiry form. How i fix it. My code is(mail.php) : <?php require_once 'admin/common/config.php'; // Read POST request params into global vars $to = "engmizan@gmail.com"; $from = $_POST['email']; $subject = "Online Enquiry / Order Form"; // registration information $name= $_POST['name']; $desig= … |
|
Re:
When using this HTML code: You get a rectangle where the location is stored, and a button labelled "Browse..". I would like to redesign the "Browse.." button and I was told this would have to be done using mainly javascript and abit of css (I thought it would be the … |
|
Re:
Ok i am pretty new to php so i could be missing a simple trick here. I need to be able to read all text files within a given directory and have them appear in a combo box by file name. After searching for what seems like forever, i can … |
|
Re:
Hi, I have almost finished my first webpage with php but I have an error I can't manage to fix. I used the plaincart template to start with. If you go to [URL="www.michton.com/shop.php"]www.michton.com/shop.php[/URL] There is an error at the top of the page, it is on black so you need … |
|
Re:
Hi I have a problem that's been bugging me. I created a page to display all my data. At the same time, I also incorporated 'filters' by using dropdown menu selection. Code snippet attached:- [CODE]<?php session_start(); require("db.php"); if (isset($_SESSION['SESS_CHIA_LOGGEDIN']) == FALSE) { header("Location: " . $config_basedir); } else if( $_SESSION['SESS_CHIA_GROUP'] … |
|
Re:
I can't seem to get the fopen thing to work, or otherwise, I'm just stupid if it is but I don't know it. Here is the code: [code=php]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <HEAD> <title>Open the file</title> </HEAD> <body> <?php $fp = fopen("http://www.mydomain.org/order.txt", "a+"); fclose($fp); ?> </body> </html>[/code] … |
|
Re:
Hi All, I have 3 horizontal tabs menus with different form to let user key in some infor to the text fields. When user 1st time access this page, all fields are blank. But if user want to go to the second tab, user must key in some infor at … |
|
Re:
Hi all,, I have created an front end which will display the list of items.....if the list of items exceeds , it elongates the page, but i want to limit it for the first page, if more number of items then it should be possible to display in the next … |
|
Re:
hi guys.....can anyone help me.....having some problem with my coding.....here's i attached together my file.......my problem is the error come out saying that undefined index ['action'] when i submit the point of contact form....help me guyz!!!he error come from saveproject.php....sequence of the file...... 1- Createproject.php - create form and when … |
|
Re:
Dear all, I'm new learner PHP. I beg help to everybody. Please check out the following code. <?php $abc1="ABC1"; $abc2="ABC2"; $abc3="ABC3"; for($i=1; $i<=3; $i++) { $abc.=$i; echo "$".$abc; } ?> Here, printed [ $abc1 $abc2 $abc3 ] but i want to print [ ABC1 ABC2 ABC3 ]. please advice me … |
|
Re:
If you read anything from my last question you know I am working on a dice roller and I am on to the next step. Stage one was just trying to figure out how to get a random, and I finally got the to work. I can now roll and … |
|
Re:
I am trying to build a random number generator based on dice. Yes, I know there are ones out there but I am trying to do this whole programming thing for myself... I thought I had done it right but it keeps telling me "Warning: Division by zero" when I … |
|
Re:
Hi, I have written a php/javascript code to check a database for a variable, which is 15 seconds to display something, or 30 seconds. Then it sends the variable to javascript to run the countdown. It works in firefox, but when I try it in IE7, the countdown starts at … |
|
Re:
This is partly PHP, partly javascript, so I wasn't sure where to stick it, but I'll stick it here. I'm sorry if this is a bit confusing, but I hope I can explain myself well. The below code queries a table in my database, and prints out a table with … |
|
Re:
The first thing at the start of every page is "session_start()". Next, each page has the following code. The 'loggedIn' session variable was initialized to 0 with a require_once call of another script. When you log in, the page that did the check will show the login is successful, but … |
|
Re:
hi all.. i had this problem when i click submit at a form..this things comesout [B] Warning: session_start(): Cannot send session cache limiter - headers already sent [/B] but the data submitted available in db table. whats the error actually??? fyi,this mini system have login..but for the form,i didn't set … |
|
Re:
Hi All, I am trying to send some data using Ajax and recieve that data in php code using _POST method. But my data contains "&" and _POST method takes it as a seperating token and data after tht does not get passed. Does anyone has a solution to this. … |
|
Re:
Hi I am having problems how to proceed in editing appointment info. In this example I have a meeting (code 201) on Monday (day code 550) from 09:00:00 to 12:00:00. This is stored in the data table as: start_time end_time start_date end_date week_day type_code 09:00:00 12:00:00 2008-01-01 2008-01-01 550 201 … |
|
Re:
[code=mysql] $result = mysql_query("SELECT * FROM cycles WHERE Upper(brand) LIKE '%$brandC%' AND type LIKE '%$typeC%'"); [/code] Above code is not working, pls help. |
|
Re:
I have a string in my database as [B]in' out"[/B] now i need to show this in input textbox i did <input value='in' out"'> output only: in also <input value="in' out""> output only: in' out the real output should be in' out" Actually i need to do like this encode … |
|
Re:
[code=php] echo "<td align=center style='width: 30px'><strong><a href='' . $link1 . '' style='color: red'>CID</a></strong></td>"; [/code] Is this part properly coded [code=php] <a href='' . $link1 . '' style='color: red'> [/code] I tried like [code=php] <a href="' . $link1 . '" style='color: red'> [/code] but not working. Pls advise. |
|
Re:
I am using current_timestamp and it works great but when I output the data onto a php page it looks like this: 2008-03-05 18:05:44 Anyone know how I can make it look like this? 03-05-2008 18:05:44 |
|
Re:
Hi, I have a long list of options( 60 option) where user can selecte none or all of them. the code is like that [CODE] <selecte name="list"> <option value="1">option</option> ... </selecte> [/CODE] and I have to display it again as a list ( <li></li> ), my question is what the … |
|
Re:
i try to building graph with charts swf (flash) from query table i have 2 field like year,num, i want result from script like this $chart [ 'chart_data' ][ 0 ][ 0 ] = ""; $chart [ 'chart_data' ][ 0 ][ 1 ] = "2001"; $chart [ 'chart_data' ][ 0 … |
|
Re:
Is there anything or keawords in PHP from which I can break or continue from a LOOP in PHP?? in C for(i=0;i<=100;i++){ statement1....; statement2....; if(condition1) break; else continue; statement3....; statement4....; statement5....; } I need something like this in PHP.. Can anybody Help me? |
|
Re:
Hi i m trying to get the values from database and put it into the select options.. i m using code- [code] <?php $con = mysql_connect("localhost","cdccpl","d123"); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("cdccpl_aus", $con); $result = mysql_query("SELECT * FROM bak_bill_cust"); while( $row = mysql_fetch_array( $result ) … |
|
Re:
[code=php] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>Cycle Tracks Portal</title> <style type="text/css" media="all">@import "images/style.css"; </style> <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="rss/" /> <?php $date = ('l dS \of F Y'); ?> </head> <body> <div class="content"> <div class="topmenu"> <div class="date_"> <?php echo $date; ?> </div> </div> [/code] … |
|
Re:
Hi this is ScorpionZ I need to get some idea regarding "Work FLOW SYSTEM" and IF I WANT TO CREATE Such system..... then What are the requirements? And on What Possible system is it Possible? Any help will be appreciated with great interest Thanks and Regard ScorpionZ |