39,326 Topics
| |
Good Morning All... I am really baffled with what I am getting from a form input using an image... Here is the form... Basically it is a single form with 4 separate input images, each reloading the same page, but changing the value of the variable 'name'. [CODE] <form name="display" … | |
hi i have a form where we can see all values from database and in this all row having three submit button named edit,del,info and i given id of the row is primary key of database table. when i press info i want that in next page i can get … | |
Hello I am looking to dump data from a MySQL database to an excel spreadsheet. I know I can dump it to a CSV file and import that way, no problem. But I want to dump the data to a specific spreadsheet in an excel and specific cells. I have … | |
Hi, I am working on a PHP form with a set of input fields, and 3 buttons. 1. The [B]ADD[/B] button will take the input and add it to a table displayed on the same page just bellow the input fields. 2. The [B]SUBMIT[/B] button will deposit the entire table … | |
I want to create one menu with anchor tag for e.g=> <a href="http://www.example.com/example.php" rel="facebox">Example</a> I want to write javascript function for that like $menu = array(); $menu['page name without extension'] = 'Page Title To be showed on page'; function MenuGen() { } In addition I want to add FACEBOX from … | |
Hello Say I have a document which is written in phonetic. Now I want to make this indic. How can I do that Say A will be আ B will be ব AA will be আ Ba will be বা T will be ট t will be ত etc...... Please … | |
Hi all, I am trying to select multiple rows from the database and then separate the rows into array values so I can use them throughout my code. This is what I have right now... [CODE] $result = mysql_query("SELECT url, image, placement FROM advert WHERE user='1'") or die(mysql_error()); //This grabs … | |
Hello, I want to display the contents of an html page on a specific web link. Can any one help me with that. Awaiting for postive response... | |
Hello everyone i am new here and i searched in the website but could not get the answer so them to my wey problem i am making a college project where i have to make a list of items from different website and bring them to my website eg:- just … | |
Hi, I have a HTML/PHP/MYSQL setup where I want to use a value chosen from one HTML <SELECT> to restrict values shown in the next HTML <SELECT>. It's a reasonably common requirement but I just can't get it. A good example is where the user chooses a country and then … | |
Hello Friends, I am making a website which can be able to sell articles. In other words, it is a shopping cart website on which product is "Articles". So different kind of articles will be listed in different categories. Articles will not be shown fully as it is for sale. … | |
Alright, I'm back for another educated post (got the newsletter btw :(). So I am trying to [COLOR="Red"][B]use AJAX to remove a joke from a list of jokes[/B][/COLOR] inside the administration panel. I know basically nothing about AJX, but I am a quick learner. I know that if I press … | |
[CODE]<?php exec('java -jar/MicroChatServer.jar',$output); print_r($output); ?>[/CODE] Hello frds......... I have chat prg. jar file and I have to integrate this chat in a PHP website uses Wampserver.... I try above code but it display "Array()" instead of execute jar file. What should I do???? Any idea?????????????// | |
I am getting no result of it when i choose mp3 file. Other files are being uploade.. What should I do?[code]echo $ftype=$_FILES["audio"]["type"]; exit;[/code] | |
i need help on knowing how to use php to send text to mobile devices | |
I wrote a code in php to upload mp3 files but it is not working. It uploads other file exrtensions but does not upload mp3 files. If I remove "if($_FILES['audio']['type']=="audio/mp3"" then files is uploaded in database but not in the subfolder "upload". Can any one help me. I'll be thankful.[code]if($ftype=="audio/mp3") … | |
Hi Frendz, This is my code to read data from port using php. <?php $host = "192.168.1.5"; $port = 4321; set_time_limit(0); echo "Start to Create socket....<br>"; $socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP) or die("create():".socket_strerror(socket_last_error($socket))); if($socket) { echo "Socket Created!"; } echo "Start to Bind Socket....<br>"; $result = socket_bind($socket, $host, $port) or … | |
I have a pregexpression and its not outputting anything. Can someone explain why this might be? I'm also new to learning this [CODE]preg_match_all("/\<b>\$(.*?)\<\/b\>/is", $res[0], $match); foreach($match[0] as $value) { echo "<div class='prices' id='kgbdealsPrice'>".$value."</div>"; } [/CODE] The string that I'm trying to get looks something like this [CODE]<tr> <div> </div> <div> … | |
Hi I hope somone can help me. my update form wil not work and i don''t know what's wrong. i got everything work only this not please help Here is the code <html><head><title>Terminkalender Change form</title> <style type="text/css"> td {font-family: tahoma, arial, verdana; font-size: 10pt } </style> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" … | |
Hi there. I was wondering if anyone could help me with this issue I am having. I wanted to create a live ajax search based on the value of the select box. The example I have obtained fromo another website and tried to have a player around. The query works … | |
Hello, I am about to publish a GPL library of classes that helps building an interactive application ( PHP AJAX JavaScript) and the name I chose for it is “PHP Interactive Pages”. Recently I came across the PHP Licesence (Wikipedia) that to be sincere I have never read it carefully. … | |
I would like to know how can I access or read the array from another php. I mean that I am working on a .php page which contains the array and I want to display the content of that array but on another .php page. for example I used the … | |
Hello I'm new to the PHP.Now i want to integrate a PHP page to Microsoft SharePoint using the web Services of PHP. | |
Hello, I was wondering if there is a way to layer my preg_matches? I have a code like this [CODE] preg_match("/\<div class=\"dealsListS\"\>(.*?)\<\/div\>(.*)\<\/form\>.*?\<\/div\>/is", $res[1], $bycontainer ); preg_match_all("/\<h2>\s*(\<div.*?\<\/div>\s*)?(.*?)\<\/h2\>/is", $bycontainer[0], $level1 ); preg_match_all("/\<div class=\"thumbWrapper\"\>(.*?)\<\/div\>/is", $level1[0], $matches); foreach($matches[0] as $travelzooTitles) { echo "<div class='titles' id='travelzooTitles'>".$travelzooTitles."</div>"; }[/CODE] I'm getting error, but can I even do … | |
Hi everyone, this is my first time using daniweb, so helo! I have a major issue with building a menu from a query. I have the following, a query built from a join from 4 tables my query returns the following Id cat name sub 2sub con 3 1 axle … | |
[CODE]$total = $total + $lineprice; $total = number_format($total,2);[/CODE] this is the code i use for getting a decimal, but when the $total is over 1000 it's shown as 1,000 and the total becomes 1,00 any solution for this? here is an example might make it more clear: [URL="http://img690.imageshack.us/img690/8484/voorbeelde.jpg"]http://img690.imageshack.us/img690/8484/voorbeelde.jpg[/URL] | |
I wanna put a editor on my text areas in Dreamweaver for news part or somewhere else, but i dont have any knowledge about that, where i should find it and how to use it. i was download tinymce from this link [url]http://tinymce.moxiecode.com/download/download.php[/url] but i dont know how to use. … | |
i wanna to upload some images for my banners but i want to send special formats to my db like jpeg and png i wrote some things like this <? %name=$_FILES['imgfiled']['name']; $size=$_FILES['imgfield']['size']; $type=$_FILES['imgfield']['type']; if ($type==image/jpeg) //i wanna upload png files too. but i dont know how to add it. exactly … | |
Hi, i'm having a problem with AES encryption. I have 2 queries: [CODE] mysql_query("INSERT INTO table (secretfield) VALUES (AES_ENCRYPT('$secretvariable','12345'))") mysql_query("SELECT AES_DECRYPT(secretfield,'12345') as sf FROM table WHERE ID='$_SESSION[id]'"); [/CODE] With AES_ENCRYPT it works fine, it inserts encrypted values into the column, but when i use AES_DECRYPT, it returns a blank value. … | |
Hi guys, I need a help for caching web pages. My website is driven by database and updated everytime (sometimes minute by minute sometime hour by hour, never know). Content and some information comes from database as well. There are also some queries run behind for logging purposes based on … |
The End.