39,316 Topics
| |
[code] <style> font-size: 14px; font-weight: normal; font-family: Tahoma, Geneva, sans-serif; } .bar { font:"Free 3 of 9 Extended"; font-size:14px; } .K2 { font-size: 14px; font-family: tahoma, Geneva, sans-serif; } .ff { font-family: "Courier New", Courier, monospace; } --> </style> <?php $con = mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: ' … | |
Can you please tell me where i am going wrong i am trying to insert just the username and stuff into my database and its not showing up please help me ASAP! it is connecting to the server okay its just that for some reason its not showing up in … | |
me again ... been google'ing the last 3 days to slide images accross a php page, does anyone know of any to pull these image names from a folder in the directory of a website? Thanx mike | |
I am trying to have a search bar where user will input a string ($var) which after i will search that sting in the field named: "itemname". i will search all the different tables in the database and create a new temporary database named: searchtable. seachtable should contain all the … | |
why this code is not working? can any one help me? [CODE] <select id="cboOptions" name="cbo0ptions" onChange="displayDiv(this.value)"> <option selected="selected" value="">choose</option> <option value="1">Order 1</option> <option value="2">Order 2</option> <option value="3">Order 3</option> <option value="4">Order 4</option> </select> <div id="1" style="display:none;"> <fieldset> <legend>order line</legend> <table> <tr><td>Item ID</td><td><input type="text" readonly="" value="<? echo $c = uniqid(); ?>" /></td></tr> … | |
[CODE]<?php function graphImage($numachieved, $weektarg) { //working out how many days are in the month $day = (date('t')/4.33333); //week1 $day1 = $day; //week2 $day2 = ($day*2); //week3 $day3 = ($day*3); //week4 $day4 = ($day*4); //tagert for the week $perWeek = $numachived; //height of graph $numtarg = ($weektarg*1); $numtarg2 = ($weektarg*2); $numtarg3 … | |
Hello all, I have a decent knowledge of php, but I have no idea how to approach this problem, or even if this requires php for that matter (I'm open to learning what this would require). In a certain area of my website, I have updates/messages from an admin being … | |
I have a form on page 2 and I want the information submitted on the form to be sent to page 3. How do i do that? | |
Hello, I am sorry to bother you all again. I am creating a script, which is used for storing the parcels sent. Now, I have done everything. Just need to add one feature. I have a MYSQL field named TRACKING which will hold tracking information or reciept numbers of the … | |
Using Wordpress with update_user_meta and php array. Had a quick question regarding dynamic input fields and posting it to php. [CODE] <input type="text" name="test[]" /> [/CODE] These fields get added dynamically as well using jquery which works fine, the issue im having is posting the array individually. To save this … | |
Hi all, I have an error that once user has submitted information the header could not enter information. [CODE]Warning: Cannot modify header information - headers already sent by (output started at F:\root\xampplite\htdocs\fyp\top.php:62) in F:\root\xampplite\htdocs\fyp\login.php on line 219[/CODE] Heres my code [CODE]session_start(); include_once'top.php'; include_once "config.php"; //include_once "html.php"; switch (@$_POST['do']) { case … | |
I am trying to put together a script and need to be able to list a number of countries and to then say, in the script, if the country is listed in the above do something... The problem is that I do not want to have to specify each and … | |
i want to convert this code to php, which will be used in wordress and i want this code to float on browser thanx [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>Related Posts Slide Out Boxes with jQuery and CSS3</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <meta name="description" content="Related … | |
First page adds a new job number, then the order page loaded with the job number id as a get id. Basically there is a while loop in the order page which shows products/services client can order and he chooses what he requires 'one or eight services' (8 in total) … | |
I get this error while executing this code: [CODE] for( $iii = 0; $iii < $tot_layers; $iii++ ) { $Lrow = mysql_fetch_array($Lresult); if($HTTP_POST_VARS[$Lrow['name']] != 'spacer.gif') { if($nulavatar == false) { $sprite_1 = @$imagecreate($phpbb_root_path.$sprites_path.'/'.$HTTP_POST_VARS[$Lrow['name']]); $nulavatar = true; } else { $image = @$imagecreate($phpbb_root_path.$sprites_path.'/'.$HTTP_POST_VARS[$Lrow['name']]); @imagecopy ($sprite_1, $image, 0, 0, 0, 0, $tot_width, … | |
I woulld like to try out motion detection using a webcam in PHP. Would it be possible to do it in Windows? I have already done a google search but the script available is for Unix | |
Hi, I'm a total newb. I'm wanting to test out a PHP program so I installed apache on my Win7 machine along with PHP. I actually used the wamp install that installs the above along with MySql and some other goodies. Anyway, it all seemed to install fine but when … | |
Hello, I am working on a project now, in which i need to find the local business listings eg: i will get the business name and zipcode from user and i need to business lisitings found at various search engines like google, yahoo, bing, yelp etc., to more precise i … | |
I am using an XML parser to get product info from a supplier site, I then break it into an array. What I need to be able to do here is to search for a specific model number code and it's accompanying data into a new single array. How do … | |
Hello i want to create a site that has features like google android market or iphone app store! i dont know what programming language or framework is better to create sites with these features. i am familiar with c++ and java programming language.i want to choose best programming language for … | |
Hi all!! i have PHP script (3 files) for upload images on my hosting server.This script changes the name of images in a unique format before uploading onto the server.I just need to print the name of image file and its path where the image is getting uploaded (like [url]http://www.johnsgallary.net/imageuploader/uploaded_files/124abc.jpg).Please[/url] … | |
Hi everyone, I am successfully creating an image with php, but I want to make it hyperlinked. But I cant do it. Here is my script: [url]http://www.forumistan.net/7tepe/olus.php?site=www.bodrumlife.com[/url] PHP Code: [code=php]<?php header("Content-type: image/png"); $yaziyaz = "Alexa: 3,493,231"; $yaziyaz1 = "Pagerank: 3"; $string = $yaziyaz; $string1 = $yaziyaz1; $im = imagecreatefrompng("resim.png"); $orange … | |
Good Day, I am looking for threads here in daniweb which will contain my question but the return is not similar to my problem.. Please help me.. i don't know what to do with this. I just want to store date field in mysql database but i can't here is … | |
| Hi all. Got a bit of a problem with this. Here's my code: [CODE]<?php header('Content-Type: text/html; charset=utf-8'); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> <?php echo strtolower("TWIUBCÜ"); echo "TWIUBCÜ"; ?> </body> </html>[/CODE] OK, perhaps the header … |
Hi My website if falling to bits around me and I cant see why!! All instances where I have used the ! operator in the php code such as [CODE]if(!isset($_POST['anything'])){[/CODE] Have stopped working and just return true which is causing nightmares with security ect. I have googled till im blue … | |
I am having a little bit of trouble coding a registration form. The text fields are no problem, its when I have a selection of checkboxes asking why they chose to register with this particular website. There are 3 checkboxes and 3 fields in the mysql table for them, the … | |
So I have a script that is processing results of a form. What I'm trying to do is to set a variable by the results of a dropdown. This variable is a filename. Here is the PHP that processes it: [CODE]if ($industry = "Coal and Power") {$link = "Coal-and-Power-portfolio.pdf";} elseif … | |
Hi, I am looking for some information about using Underscores ( _ ) in usernames. I currently have a friends system where a user can become friends with another user and this is placed into a database. I then have a query to display all of the users friends, which … | |
I need some help with something which in theory shouldnt be complicated but really has me stumped! I'm not sure whether the answer to this lies in the php code or in the SQL statement. I am doing a bonus comparison so I am extracting 2 columns from the table: … | |
Hi, I guess it's time for my first post here :) I've managed to create a php script that can run through a MySQL table and print out OPTIONS for a HTML SELECT tag. That was Google 101. But I want to keep my php and HTML separate so i've … |
The End.