39,321 Topics
| |
I am building a confidentiality form which I would like to submit to a printable page and to two or three email addresses (one being the email address of the person who filled the form out). This means that the language that is above the form needs to be printed … | |
[code="PHP"] <html> <head></head> <body> <?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 jid,industrytype from career"); if($result) { echo '<select>'; while($myrow = mysql_fetch_array($result)) { echo '<option value="',$myrow['$industrytype'],'"></option>'; } echo "</select>"; } ?> </body> </html> [/code] in this code i'm getting only the listbox.not to able to retrive … | |
websites is not really my specialty...so how can I connect modules? and also how can a user update, lets say his bulletin, by just editing it just like in multiply...any suggestions or online tutorials will be appreciated ..tnx | |
Hi guys hope you can help i need to know how i would use curl to fill in a form which uses asp.net postback function with javascript anyone achieved this if yes how. Thanks Guys | |
DISCLAIMER: I am a beginner. I know how to edit html, but not much else. I recently had a website designed with an inline javascript form for my Aweber autoresponder. In order to save money on having a thank you page designed, I am using the aweber thank you pop-up … | |
As I am quite new at this web world, can anyone please be so kind and let me know what/how to use PHP so as to find the word of say bananas across ALL web pages on the internet? So I ultimately want at the end of the day, a … | |
Does mysql_real_escape_string() escape HTML character entities? I want people on my comment board to be able to post quotes in their comments, but they get escaped as raw ascii, so I run them through htmlentities() first, but it doesn't help. I only get it to work when I remove mysql_real_escape_string(), … | |
Hi all, This is the first of what I hope to be many contributions to Daniweb. Unfortunately, my first "contribution" is a question, one which will surely highlight my lack of experience with this issue. I have written a PHP "Back Office" application which talks to our hardware via a … | |
Hello, I am trying to pass multiple values, via an implode function. However, it isnt working. Here is the code from the first page, then the second page. [code=php] <?php if(isset($_POST['numItems'])) { $checkboxes = $_POST['numItems']; $string = implode($value,"^"); echo $string; } ?> <form name='CartItem' action='https://www.ram-mount.com/RamCart/CartPutItem.php' method='POST'> <input type='checkbox' name='numItems[]' value='RAM-VB-162'> … | |
hai have one combo box and text box and one submit button in(page1.php). i want to search from DB for some records based one combo box item and text typed in textbox by clicking search button. i select one item from combo box, and type text in text box and … | |
hi all, i want to develop a shopping cart which uses only sessions to store products their id and prices etc. so, i thought of an idea to store products details in a multidimensional arrays and then into session my idea is like this [code]array( [productid1]=>array( [0]=>product name [1]=>productprice [2]=>product … | |
I'm pretty much a newb when it comes to PHP and MYSQL (taught myself, so I make a lot of mistakes :confused: ) So here's the code... [code] $query = "SELECT DISTINCT(t_tag) FROM tags ORDER BY t_tag desc LIMIT 50"; $results = mysql_query($query) or die(mysql_error()); while ($row = mysql_fetch_array($results)) { … | |
Hey. I'm trying to make an activation script for a website, but for some reason my sql query is giving me errors. [CODE] $sql = 'UPDATE user SET active = 1 WHERE (password = "$_GET['hash']") AND (timestamp = ".base64_decode($_GET['stamp'].")'; $result = mysql_query ($sql) or die (mysql_error()); if( mysql_num_rows($result)==1 ) { … | |
Hello, all: Wandering if anybody can help me with this: can I have more than one htaccess file in a site? as in having htaccess files in subdirectories to control or specify how files in that directory refer to "include" files? so that if I have a mini-site within a … | |
how to get print dialog box through php. that's mean when i click the submit button named as print . then it will show the print dialog box. | |
I created a list and detail page using Developers Toolbox and from the detail page, I want to be able to get to a series of other pages, all using the ID from the detail page. So...here's my example. You login and search the mbrlist.php page for your user. Based … | |
Hi, I have 2 tables in each page. when i have more than 1 page, tables are breaking into other pages. Like, end of the one table appear in next page. How can i do it stable. Because, when i print, i want each page have 2 tables without any … | |
Hi! I'm a web designer and have a little bit knowledge of action scripting (both as2 and as3). Now these days, I'm working on a new flash project regarding multi-user poker game. I've never worked before on these kind of projects, but when I was searching on google about multi-user … | |
If anybody could let me know how to create a bullet in an xml file using php. This piece of knowledge will be highly appreciated. Thanks | |
Hi I created one website with login form.In that form after login with username and password i entered into welcome page after that i clicked logout then my page gets logout then i clicked back option in my browser that time it shows well come page i want to avoid … | |
In this management software I'm working on, I've built a messenger for the employees to use to IM each other. Recently we moved to a brand new server and upgraded from PHP4 to PHP5. Now the instant messenger won't work. I've opened port 7357, which is the port it uses … | |
i am new for php and mysql. i am using three textbox and one submit button. it consider as userid , firstname, lastname and add button. and i am using mysql data base. when i give the input and click the add button it will store to mysql database. and … | |
Hello is there anyone here that is agreat forum creater I need your help please!! I just cant seem to make a great forum can someone help me create a forum? | |
Hi, I am creating website for e-shopping.In that e-shopping i want to sell some products in online can anyone tell me how to do this using paypal or anything. Thanks in advance Punitha Pary | |
hi , PHP Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in C:\Domains\eazygurus.com\wwwroot\courses.php on line 45 im getting this error please help me out from this. im attaching the php file and copying my database values........ Table structure for table `course` -- [code=sql]CREATE TABLE `course` ( `id` … | |
hi, i need help how to handle php error in my site.. i have created some pages. it is showing some warning... so i want to error handling in php... | |
Hi, I need some help to enable a contact form I've been using to handle Japanese input. I'm not a PHP programmer or developer and really appreciate any feedback. The form was a download from a free resource. I have inserted some statements into the code, but have not been … | |
Guys i am going crazy here I dont know what I am doing wrong here, it renders in blank the page. I apreciatte very much your help. Oma [code] <?php //include("functions.php"); //dbConnect(); //ADD YOUR OWN DB CONNECTION HERE ?> <html> <head> <meta http-equiv="content-type" content="text/html;charset=utf-8" /> <meta name="generator" content="Adobe GoLive" /> … | |
Hello, all: I have this issue with my includes files; I have this code in my htaccess file so that files that use any of these includes automatically read the includes from root folder. php_value include_path ".:/home/server/domains/mysite.com/html" they seem to work OK, but for some reason the images inside those … | |
Hi all, I am trying to build a web-page with Joomla 1.0.xx, Fireboard and Coppermine photo gallery. I am a newbie with joomla and php-scripting. What i am trying to archieve is to get checkboxes for users to use when they upload photos instead of the pooibility to write their … |
The End.