39,326 Topics

Member Avatar for
Member Avatar for Witblitz

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 …

Member Avatar for Witblitz
0
101
Member Avatar for thr

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 …

Member Avatar for thr
0
69
Member Avatar for captain.don

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] …

Member Avatar for Shanti C
0
259
Member Avatar for CasTex

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 …

Member Avatar for onlymani
0
191
Member Avatar for nyler01

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 …

Member Avatar for rajvinoth
0
140
Member Avatar for diafol

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 …

Member Avatar for diafol
0
5K
Member Avatar for nuttyniall

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 …

Member Avatar for nuttyniall
0
145
Member Avatar for lit108

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 …

Member Avatar for lit108
0
152
Member Avatar for RGStrat

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 …

Member Avatar for RGStrat
0
101
Member Avatar for AdriftUniform

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 …

Member Avatar for AdriftUniform
0
171
Member Avatar for asusplay

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: …

Member Avatar for ad7u
0
176
Member Avatar for DJWK

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 …

Member Avatar for DJWK
0
125
Member Avatar for ben.marks

Hi all, I am trying to output data from a MySQL database from the column, 'category', however what I have at the moment isnt working. Any suggestions please? [CODE]$catrow = mysql_query("SELECT category FROM tuck"); $cate=array(); while($category = mysql_fetch_assoc($catrow));{ $cate[]=$category; } echo $cate[0]; echo $cate[1];[/CODE] Thanks

Member Avatar for ben.marks
0
174
Member Avatar for tape enterprise

I want to output my data into a list ordered like this [CODE] <ul> <li>[I]category name[/I]</li> <ul> <li>[I]category item[/I]</li> </ul> <li>[I]category name[/I]</li> <ul> <li>[I]category item[/I]</li> </ul> </ul>[/CODE] when I try a foreach loop like this [CODE]<? $previous_catagory = null; ?> <? foreach ($providers as $provider): ?> <? if ($provider['catname'] !=$previous_catagory) …

Member Avatar for tape enterprise
0
99
Member Avatar for PuneetSeo
Member Avatar for sirajudeenj

Can we control client web cams by main server.At the same time can we monitor the discussions those are done by client systems?

Member Avatar for jkon
0
45
Member Avatar for benqb

I am executing python file through php code in my local host [CODE=php]<?php $out = array(); $execute='C:\wamp\bin\apache\Apache2.2.11\cgi-bin\test.py'; exec ("$execute", $out); foreach ($out as $value) { echo "$value<br />\n"; } ?>[/CODE] test.py [CODE=python] #!/usr/bin/python import cgi, cgitb, os, sys cgitb.enable(); # formats errors in HTML print "helloworld"[/CODE] it correctly working in …

Member Avatar for jkon
0
94
Member Avatar for zylog

HI iam a beginner in php . just started learning stored procedure . is there any way to execute stored procedure form the php page

Member Avatar for jkon
0
64
Member Avatar for oceanus

Hi i am a beginner and wanted to know how would i create a website like animeseason.com. I heard they used a content management system. I know nothing about cms can some one explain to me an how i can setup one?

Member Avatar for jkon
0
57
Member Avatar for puvi

Hi ppl, I am facing this weird problem with php newline character. [CODE] <?php echo"Hello World!! \n Im new to php"; ?> [/CODE] can anyone pls point out what is wrong in the above code?? the output should be: Hello World!! Im new to php but the output goes on …

Member Avatar for lyrico
0
166
Member Avatar for soomro_moon

how to change the texebox properties through php? plz give syntx or any little example.

Member Avatar for soomro_moon
0
122
Member Avatar for samsons17

Hi, I get this code somewhere from the web and wanted to implement it on my website. This code is basicly doing something like facebook's posting time. But in the code, there is the $session_time that i need to set first. How do i do this using the PHP? Thank …

Member Avatar for samsons17
0
183
Member Avatar for rajeesh_rsn

Hi friends, I want to implement a event calender in one of my web project. I tried many in google . Can any one suggest a good event calender for me. Which is bug free and free.. Thanks in Advance Rajeesh

0
65
Member Avatar for jrhitokiri

I have these strings as $remaining_time: "3h5m" "4h9m" "15m" "17h" "6d17h" What I want to do is be able to parse through them and output the results in unix format so I can add them up to my $start_time (in unix timestamp) to get the end time. Any suggestions how …

Member Avatar for jrhitokiri
0
188
Member Avatar for aparnesh

Hi I need to build a online transaction processing system using php and mySQL. Sorry to say, I am a newbie at this. One of the requirements is that when a transaction is processed, a printed bill/invoice should be generated. Can this be done in php ? If I am …

Member Avatar for anggwa
0
183
Member Avatar for zlloyd1

I have an html file that is supposed to do a search and return of a database I have created in phpMyadmin but is giving me nothing but one error after another!!:'( This is the html form[CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Directory List Request</title> …

Member Avatar for zlloyd1
0
145
Member Avatar for Staggasaurarts

Hi, I am building a website that runs mainly on wordpress. The header for this is customised through the admin panel. I am also building a marketplace (in php) that needs to fit in the same style. If it is possible, how would i call header.php from the theme directory …

0
75
Member Avatar for TJJamal

[CODE=PHP] $query = "SELECT * FROM VISITOR"; if($result = $VISITOR->query($query, SQLITE_BOTH, $error)) [/CODE] Fatal error: Call to a member function query() on a non-object in ...file path. I keep getting this error. Can anyone help? Thanks

Member Avatar for TJJamal
0
111
Member Avatar for Awah Mohamed

hey guys, i want to build a social network and i somehow know what i am supposed to be doing but my problem now is what color should i use for the layout ?? i am realy so stupid in colors and i never know what color exactly i can …

Member Avatar for mschroeder
0
58
Member Avatar for flipper828

Hello, I am fairly new to PHP and MySQL so I apologize if I am just being lazy and/or stupid on this. I searched previous threads and found this one [URL="http://www.daniweb.com/forums/thread178612.html"]Insert data into two tables using php and mysql[/URL] It helped me tremendously but only to a point. Below is …

Member Avatar for flipper828
0
178

The End.