39,393 Topics

Member Avatar for
Member Avatar for toadzky

I feel a little like an idiot for asking this but.... I have Apache 2.2 installed on my computer just to test my pages and scripts for my web engineering class. Whatever version of PHP that came with it is what I have installed. I can't even get a basic …

Member Avatar for toadzky
0
102
Member Avatar for bigvic718

I am these 2 errors come up in my database and I cant figure out the problem with my code....can someone help please? here is the code. [code="PHP"] <body> <?php include("../misc.inc"); mysql_connect($host,$user,$pass); mysql_select_db($database); if($HTTP_GET_VARS['id']) { $query = "SELECT * FROM guestlist WHERE eventID = '".$HTTP_GET_VARS['id']."'"; $result = mysql_query($query); $nrows = …

Member Avatar for bigvic718
0
113
Member Avatar for mywebworld

Pls, I need a php script that will creat complete loging page on my web page and if password is forgotten it will retrieve and send it to the user by mail. e.g loging User Name:........ Password:.......... if you forget your password Enetr email Address........

Member Avatar for Designer_101
0
97
Member Avatar for Dilnesaw

I want to enable visitors to send the url of the page they visitied to their freinds by filling out forms. I want the e-mail to contain the url address they visited as well. I tried to use two php scripts that are freely available on the web. The two …

Member Avatar for Dilnesaw
0
165
Member Avatar for stalk

Is it possible to make this operation? $musica = vyber_detaily_cd($EAN_kod); $ciste = vyber_detaily_media($EAN_kod); $cd=$musica.$ciste; How I join this variable? $ musica and $ ciste to one variable: $cd ? function vyber_detaily_cd and vyber_detaily_media($EAN_kod) select details of product which is in database and I need display this detail in shop basket …

Member Avatar for petr.pavel
0
75
Member Avatar for stalk

Hello, I have problem with this:\ $conn = db_connect(); $query = "select * from albumy, ciste_media where EAN_kod='$EAN_kod'"; Is this syntax good, when I used two tables? Because when I used one table its go correctly and when I used two tables, its doing problems

Member Avatar for stalk
0
98
Member Avatar for luvphp

i have a text area where user can enter some notes ,i save that in database by taking text as data type ,and while retrieving it through Ajax its not retrieving as each new line in text area is entered as a special character ,please help me anyone to get …

Member Avatar for mostafadotnet
0
69
Member Avatar for stalk

hello, I have a problem : What is it? Warning: Unable to jump to row 0 on MySQL result index 2 in c:\apache\htdocs\cd_shop\funkcie_s_databazou.php on line 899

Member Avatar for stalk
0
135
Member Avatar for andrewcross

Hi, this is driving me crazy so hope you can help. It seems quite simple. Basically I have a simple site consisting of an index.php page that loads in the other pages using php switch case. This all works great. The trouble I'm having is cleaning the url with mod_rewrite …

Member Avatar for andrewcross
0
133
Member Avatar for aravindkishore

Hi every one, Why I am getting wrong time when I am using date('H:i:s').I am working on localhost. Please help how to get correct time. Thanks and Regards, Aravind Kishore.P

Member Avatar for aravindkishore
0
84
Member Avatar for kings

[CODE]<html> <head> <SCRIPT LANGUAGE="JAVASCRIPT"> <!-- function view(ss) { if(ss.options[ss.selectedIndex].value!="none") { window.location="http://jesus.freehyperspace2.com/desc.php"; } } --> </script> </head> <body> <form method="get" target="frameright" action="http://jesus.freehyperspace2.com/desc.php"> <?php $hostname="localhost"; $username="jesus_jesus"; $password="jesus"; $dbid="jesus_jesus"; $link=mysql_connect($hostname,$username,$password); mysql_select_db($dbid) or die("unable to connect"); $result=mysql_query("select * from career"); if($result) { print "<select name='IndustryType' language='javascript' onChange='view(this);' size='15' tyle='width:250px'>"; print "<option value='none' selected>Choose Industry …

Member Avatar for silviuks
0
74
Member Avatar for vijukumar

how to show error message whenever the person enters wrong or empty text fields in th login form itself rather than linking to other error page? error message should be displayed just above the login text fields... please pass me the codes so that i can understand. thank you

Member Avatar for vijukumar
0
115
Member Avatar for naju

the user posts from time input box.. now i need to check is that in time format or not ... how??? if he doesnot input time ... then i have to inset null time in db with time datatype .. how??? pliz help .. thanks in advance

Member Avatar for naju
0
75
Member Avatar for heshangho

Does any body know how to configure a wamp server or any related web help available for it?

Member Avatar for heshangho
0
97
Member Avatar for vijukumar

what will be the type for salary field? should i use decimal or integer? please let me know which is the appropriate one.

Member Avatar for silviuks
0
93
Member Avatar for vijukumar

why we use these files in php? please tell me why they have been used and how they work?

Member Avatar for nav33n
0
107
Member Avatar for forzadraco

Anyone can show me make a secure transaction or login with SSL.. Thanks for read my thread, Ardy Satria H

Member Avatar for inzomniac
0
71
Member Avatar for vijukumar

hi all... this is my Table CREATE TABLE `client` ( `client_id` tinyint(4) unsigned NOT NULL auto_increment, `client_name` varchar(255) NOT NULL, `client_email` varchar(255) NOT NULL, `client_phone` int(20) unsigned NOT NULL, `client_mobile` int(20) unsigned NOT NULL, `client_country` varchar(255) NOT NULL, `c_billing_address` text NOT NULL, `modified_date` int(11) NOT NULL, `edited_date` int(11) NOT NULL, …

Member Avatar for ryan_vietnow
0
93
Member Avatar for welbyobeng

On this code `$appendPath` was created for `myFieldName['filename']` How would I add `$appendimagePath` to this code for `myFieldName['visual']` ? $result = mysql_query($sql); //print $sql; if($result){ $line = mysql_fetch_assoc($result); $myFile = $line[$myFieldName['filename']]; if(file_exists($myFile)){ pushfile($myFile, $action); } else { echo ("&retval=error 1 : file doesn't exist"." ".$_REQUEST['theID']); } } else { echo …

Member Avatar for welbyobeng
0
92
Member Avatar for asadalim1

Greetings all, I have multiple list options linked, like Country, city, town, when e.g france is selected it gives all the cities in france in the following option list. and when say paris is selected it gives you all the towns in paris and third category. I have found an …

Member Avatar for asadalim1
0
93
Member Avatar for duttydea

I have a database of over 900 products. What i am hoping to create is a website that pulls the Product information from a database using its Product ID. The products are displayed according to their sub category: [CODE]SELECT `Product_ID`, `Product_picurl`, `Product_Name`, `Product_Description`, `Product_price`, `Product_Category`, `Product_Pdf`, `Product_Cart`, `Product_Features`, `Product_subcat`, `Key` …

Member Avatar for duttydea
0
106
Member Avatar for chrisw09

I'm not sure it this is a post for PHP or the database forum, but since my question deals with php functions, i put it here. In the past when i would page results i do the following: 1) get the count of my full resultset 2) calculate limit and …

Member Avatar for forzadraco
0
1K
Member Avatar for OmniX

This error cropped up in another thread as I was trying to solve the problem. Problem: I am unable to use: [code] test.php code header("Location: test1.php"); and echo "<meta http-equiv='refresh' content='0;url=test.php'>"; [/code] Goals: For test.php to open test1.php in a new window and then test.php is refreshed. Solution: Ill leave …

Member Avatar for forzadraco
0
60
Member Avatar for htcorp

My code below don't show me any name and address (only show <d> ) : [CODE] <html> <body> <H1>Testing</H1> <table border="1"> <tr bgcolor="Blue"> <th>Name</th> <th>Address</th> </tr> <?php $db = array( array("Binladen","los anger"), array("Harry","NY"), array("Ghost","lust caution") ); /** * return string * params int $i * return 'white' even and 'yellow' …

Member Avatar for forzadraco
0
83
Member Avatar for jino

Hi all, I am new to PHP.. I want to paginate the result of a search query... can any one give me an example of the concern codes... u can post it on daniweb or u can send it on [email]jinojoseph07@gmail.com[/email] Please help me.. Jino..

Member Avatar for forzadraco
0
95
Member Avatar for shezz

hello...anybody.. i want develop booking system using event calendar style, like at [U][url]http://www.vcalendar.org/site/demo/index.php[/url][/U].... but i don't know how. i'm using php,mysql,phpmyadmin(xxamp) help me... thanks..

Member Avatar for LeBurt
0
106
Member Avatar for scorpionz

Hi This is ScorpionZ I have created my Webpage in Which i want to show a randomly generated banners... The Scenario is simple I have a banners name stored in Database.. Now I want to call them at Particular place with selected Id's, Like there are 1 to 100 banners …

Member Avatar for scorpionz
0
148
Member Avatar for duttydea

I want to add an image to my php script: [QUOTE]<?php $sql = "select * from Prod_listing"; $result = mysql_query ($sql); while ($row = mysql_fetch_array($result)) { $field1= $row["Product_Name"]; $field2= $row["Product_Id"]; $field3= $row["Product_Description"]; $field4= $row["Product_picurl"]; echo "<h1> <strong> $field1 <br> </strong> </h1>"; // Header Tag, bold.tag echo "$field2<br>"; echo "$field3<br>"; echo …

Member Avatar for nav33n
0
87
Member Avatar for qemmal

i am beginner. if this error occur ; [B]Undefined variable: oCustRes [/B] what suppose i do? i want to use the variable in javascript. when i define the variable, a database error will occur. where should i define the variable? in the javascript or outside? :(

Member Avatar for ryan_vietnow
0
63
Member Avatar for stalk

$query = "select * from 'ciste_media' where ".$medium."= ".$medium." and ".$typ."= ".$typ." and ".$kusy."= ".$kusy." and ".$obal."= ".$obal." and znacka like '%".$vyraz."%' order by kusy ASC"; $result = mysql_query($query); [B]this is line 38[/B] Please, is this correct form and syntax for this selection? Wrote me :Supplied argument is not a …

Member Avatar for forzadraco
0
150

The End.