39,323 Topics

Member Avatar for
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
73
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
114
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
73
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
95
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
92
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
105
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
69
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
91
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
91
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
91
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
103
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
58
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
82
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
93
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
105
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
145
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
85
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
61
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
148
Member Avatar for duttydea

I have a script that displays data from Mysql server, what i hoping to do is display the data in a HTML Table. I would like to create the table in deamweaver purley cause i am not great at HTML. [CODE]<table width="65%" height="404" border="1" align="left" cellpadding="0" cellspacing="0"> <tr> <td height="16" …

Member Avatar for duttydea
0
317
Member Avatar for sagedavis

I know, this is a weird question, but... I am working right now on an inherited project, and finding this quite a bit. [code] $objSomething -> $object [/code] I have had it explained to me that this is similar to the dot in javascript's [code] element.style [/code] This concept in …

Member Avatar for sagedavis
0
107
Member Avatar for welbyobeng

I attached the 2 script I have a script that retrieves a file from my database with an option of providing a path Now the appendPath Will "tack on" the contents of appendPath to the front of the file name. For example, :if appendPath is set to: $appendPath = 'http://www/path/to/'; …

Member Avatar for welbyobeng
0
123
Member Avatar for naju

when i insert a image from tinymce, it sets default to 550px X 550px from where can i change these default setting in tinymce ------------------------------------------------------- Sorry guys it might relate to php ... but actually i've problem with tinymce WYISWYG during my php site

0
64
Member Avatar for forzadraco

Helo... Thanks for read my thread... i have problem to make a web page like my.yahoo.com where a news click, a new pop-up window show and the web-page(background) become more darker and pop-up window willbe focuss... Anyone can help me...? Thanks, Ardy Satria H [email]forzadraco@gmail.com[/email]

Member Avatar for forzadraco
0
87
Member Avatar for naju

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 …

Member Avatar for naju
0
79
Member Avatar for lydia21

hi i have a form where the user will giva a key word ...based on the keyword i wabt the user to fetch all the rows in the table

Member Avatar for nav33n
0
66
Member Avatar for banarabbyt

Hi all, I saw your guys site while browsing forums for help and you guys seem most knowledgeable. Here is my problem, I just uploaded some script to a site of mine, and now I'm getting this error message: Parse error: syntax error, unexpected T_LNUMBER, expecting '{' in /home/mickeylo/public_html/index.php on …

Member Avatar for banarabbyt
0
116
Member Avatar for naju

i need to have null date from php and send to mysql how to make a null date so that i could insert it the database it should be in the format '00-00-0000';

Member Avatar for ryan_vietnow
0
84
Member Avatar for dami06

Could someone please tell me how to change a text format in php for example if have a question like this in your code: Which of the following form element names can be used to create an array in PHP? [B] foo [foo] foo[] foo[bar] [/B] How do you change …

Member Avatar for petr.pavel
0
73

The End.