39,323 Topics
| |
[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 … | |
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 | |
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 | |
Does any body know how to configure a wamp server or any related web help available for it? | |
what will be the type for salary field? should i use decimal or integer? please let me know which is the appropriate one. | |
why we use these files in php? please tell me why they have been used and how they work? | |
Anyone can show me make a secure transaction or login with SSL.. Thanks for read my thread, Ardy Satria H | |
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, … | |
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 … | |
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 … | |
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` … | |
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 … | |
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 … | |
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' … | |
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.. | |
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.. | |
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 … | |
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 … | |
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? :( | |
$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 … | |
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" … | |
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 … | |
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/'; … | |
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 | |
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] | |
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 … | |
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 | |
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 … | |
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'; | |
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 … |
The End.