39,402 Topics

Member Avatar for
Member Avatar for harsha.netpem

Hi, How can we edit the select button option using radio button which is already selected in the output and we can select other option, using PHP form and also update in mysql database. For E.g:- Agreement Received :- O Y es O No In the output, If the agreement …

0
48
Member Avatar for johnnc

Greetings, I am trying to write XML using SimpleXML for a web service call. I was having success until the XML got a little more complicated. Here is the XML format where I am running into problems: [CODE] <Agent> <Person Last='Smith' First='John'> <Addresses /> <PhoneNumbers> <Phone Type='1' Number='888-555-1212'> </PhoneNumbers> </Person> …

Member Avatar for jmichae3
0
456
Member Avatar for KadajXII

Dear all, Hear my case. My project, Android project, when user launch the application, it will send device's travelling speed and location to web server, 2s interval. Then from the web server, it need to return a location if device's travelling speed is less than 30kmh. So my problem is …

0
70
Member Avatar for Drugsxxx

Hi i have some variables in one file - index.php looking like this: [CODE] $kPoln = floor(($getPoln*255)/$max); $kPolnW = floor(($PolnW*255)/$max); $kWsch = floor(($getWsch*255)/$max); $kPoldW = floor(($PoldW*255)/$max); $kPold = floor(($getPold*255)/$max); $kPoldZ = floor(($PoldZ*255)/$max); $kZach = floor(($getZach*255)/$max); $kPolnZ = floor(($PolnZ*255)/$max);[/CODE] and i want to send them to another file - image.php - …

Member Avatar for diafol
0
351
Member Avatar for aaloo

i am getting confused that which one can be implemented >sending data out from flash to php via xml or >sending data out from flash to xml via php i know we can load data directly from xml to flash but i dont know how to send data from flash …

Member Avatar for sufyan2011
0
125
Member Avatar for mehdi.yazdani

Hi, i wrote some command for division of numbers by certain number for example 1000000 and [CODE]$filesize=$size/1000000;[/CODE] the result shown some things like this 12.24927 but i need just the first part of this number for example i want to write 12 instead of this 12.24927 . how can i …

Member Avatar for cereal
0
167
Member Avatar for Dani

Hi, I just started using the Memcached php client instead of Memcache client. It's able to connect, but now when I run a get(), I get the following error: Memcached::get(): bad type specifier while parsing parameters It worked fine with Memcache? There's just one parameter ... the key to be …

Member Avatar for Dani
0
111
Member Avatar for aaloo

this is my php code [CODE]<?php $i=0; echo "t$i=pp&"; ?>[/CODE] and this is my as2 code [CODE] myData = new LoadVars() myData.load("http://localhost/exercise/0.php") myData.onLoad = function(succes){ if(succes){ a.text=myData.t$i; //this is not working } else trace ("Error loading data") } [/CODE] as you can see i want to send variable"t$i" from php …

Member Avatar for sufyan2011
-1
118
Member Avatar for briandapice

I need to create a very simple script with php. Just a simple form with an input field for the users name and another for the users email address. They click submit, and the script sends an email to that address, while attaching a PDF file that I specify in …

Member Avatar for qazplm114477
0
467
Member Avatar for Zedith

Hi I have a php code with a string that I'm trying to find in an MySql database. But...I'm getting empty result set. The database has a varchar column named news_url with this in it "/is/frettir/titill". What I'm trying to do is search for this row with that string in …

Member Avatar for pritaeas
0
176
Member Avatar for Buppy

Hi, I need to read a profile's wall page and it's posts from facebook. I found this link in the graph page: [url]https://graph.facebook.com/profile/feed?access_token=xxx[/url] It returns just a list of some comments or something. I cannot even find them on the page. How do i properly use it to get the …

0
59
Member Avatar for Malaoshi

Hi, I am currently working on a websiteproject for learning chinese. To help the readers to understand the texts better, I want to annotate the Chinese Characters with popup translations from the HanDeDict (German-Chinese Dictionary). I already downloaded the dictionary but the file seems to be too big to work …

Member Avatar for cereal
0
329
Member Avatar for sacarias40

I'm creating a bot scraper that gathers information off of other websites and i am using html simple dom parser to do it. I have found a bug though. I ran into one website that doesnt parse.\ Here is a sample of the code that it cannot parse: [CODE]<div class="header"><div …

Member Avatar for sacarias40
0
228
Member Avatar for grekos

Hey everyone, I'm here to ask for opinions and advice more then anything. I'm 18-a senior in high school. I would really like to move into my own apartment after I graduate. This is for personal reasons, but please note I want this for a reason other then the stereotypical …

Member Avatar for grekos
0
177
Member Avatar for dean8710

Can someone share the use of .htaccess and the sample of the code.. Is this .htaccess really usefull? :?:

Member Avatar for dean8710
0
345
Member Avatar for shubh2488

In this code i want to pass all the three red color code textbox value to a javascript function and print there. <?php $userid="123456789123456789"; $con = mysql_connect('localhost', 'root', ''); //Update hostname mysql_select_db("video_upload", $con); //Update database name //echo "--------".$viewall = $_GET['viewall']; //Display image $rs=mysql_query("select * from video "); while($row=mysql_fetch_array($rs)) { echo …

Member Avatar for skraps
0
777
Member Avatar for shubh2488

this is my php update query ,there are 6 column including album and genere, 3 column value are already inserted in database,in this i just want to update those column value with these two album and genere value.. it's nt getting updated.... please help me....! [CODE]<?php $a=$_GET["artist"]; $g=$_GET["genere"]; $f=$_GET["filename"]; $userid="123456789123456789"; …

Member Avatar for Biiim
0
86
Member Avatar for vikassoni1033

Here is one code of php 2 dropdown and one button i down want button, and use ajax in dropdown..... how can i do it? <?php require_once("includes/ReadAllXML.php"); $to_plaza_poi = array(); $from_plaza_poi = array(); $hasMessage = false; $row1 = ""; $row2 = "0.00"; $row3 = "0.00"; $fromPost = ""; $toPost = …

0
50
Member Avatar for devchawla69

i'm a core php programmer . Now I am goimg to install framework like zend, cake php etc. to name a few..My question is 1. Which is the best overall frmawork. 2. can we use classes defined by two diff. frameworks in a single environment..

Member Avatar for skraps
0
121
Member Avatar for BenNoush

Hello I am developing a website using ajax, php,javascript and html for a grocery. Product code is entered in a textbox 'txt_code' and upon clicking on 'Retrieve' button, the product details, quantiy and price is dispalyed(this is an ajax code). The product price, product code and product descripion are retrieved …

Member Avatar for niranga
0
197
Member Avatar for cmps

Hello, I have created many websites using only classic php and functions But now I decided to learn classes, I understood how it works but haven't used it yet. I have phpcake tutorials, but don't know if it is good to learn it or it is not a good idea …

Member Avatar for cmps
0
198
Member Avatar for daniel36
Member Avatar for rakibtg

hello there, i have a php e-mail script which i am using for my website where users can submit their website. so i wish to add a reciprocal link checker script which can be act just like Google rEcaptha in my php email form. if my site link can't be …

Member Avatar for skraps
0
216
Member Avatar for shamsidah

hello.. i have a table name [B]paintshop[/B] and have 4 fields for example [U][B]table:paintshop[/B][/U] bodyNo | defect_code | qty | date 58786859 | FM | 9 | 2011-11-29 58786859 | BB | 1 | 2011-11-29 58786859 | TN | 4 | 2011-11-29 58786860 | RN | 7 | 2011-11-29 58786851 …

Member Avatar for shamsidah
0
87
Member Avatar for calebcook

Does anyone know of a way to encrypt a string and output it as x number of characters? I need it to always return the same number of characters. I know MD5 always returns it as 32 characters. I'd like for it to return less that that, maybe 20 or …

Member Avatar for skraps
0
189
Member Avatar for astorum

Ok i got a problem, i want the domain directory default folder to have index2.php as default page, but i DO HAVE also index.php. so when i even visit mysite.com/index.php it only shows mysite.com/index2.php, enven entering it explicitlly this is my rule DirectoryIndex index2.php index.php (I have a reason to …

0
118
Member Avatar for joshmac

I am wanting to learn the singleton method, and I am having an issue with my code. I've been manipulating my own code for a few days now, but decided to use someone else's class to give it a try, and I am still coming up with nothing. Any help …

Member Avatar for joshmac
0
136
Member Avatar for rayidi

Dear Friends, I'm Currently using php session ( $_SESSION[''] ), I want to use $_COOKIE Because when a user didn't click the logout button and he closed the website. still he is showing Online because i write the code at the logout page. So If we use $_COOKIE it is …

Member Avatar for diafol
0
191
Member Avatar for aaro

hi im not great at programming and have been trying to fix this for ages. i am using a script to create thumbnails and display images it all works fine. the problem is for each record on my database, eg each page on my site i have numerical image folders …

Member Avatar for aaro
0
187
Member Avatar for gorleone

Hi Guys, I have a 2 errors with PDO: Sometimes give me this error: Connection error, because: SQLSTATE[HY000] [2013] Lost connection to MySQL server at 'reading initial communication packet', system error: 111 Other time sent me this: SQLSTATE[42000] [1203] User [MYUSERNAME] already has more than 'max_user_connections' active connections This is …

Member Avatar for gorleone
0
148
Member Avatar for kimmi_baby

Hi, I'm looking for a great tutorial that shows how to create a HTML/PHP form that emails once it has been submit. Any help would be appreciated! I'm also using a PHP includes. The contact form is in there. Am i still able to get the contact form to work?

Member Avatar for Dandello
0
52
Member Avatar for lastgame2007

anyone can help me with this error what does it do? im working on with my LOGIN script, and when i tried to run the script. what does it mean? anyone, thanks!:) Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\MEA\connect.php:7) in C:\xampp\htdocs\MEA\testlog.php on line …

Member Avatar for pritaeas
0
125
Member Avatar for Stefano Mtangoo

Hi, I need to write very simple RTF parser to write and read basic rtf (bold,italic, underline, paragraph et al). I have searched for techniques I can implement but havent found good example. I would like to hear from you guys what approach whatsoever you consider to be best for …

Member Avatar for pritaeas
0
502
Member Avatar for manaila

I want to develop a web chat application. Can it be done using PHP, I have read that it can be done using Java tools, but I do not want to use it. Any recommendations of the tools to use for developing it.

Member Avatar for diafol
0
101
Member Avatar for saybabs

I need someone to put me through on how i can show GMT time on my php application. I have tried all possible time functions all to no avail. i don't want the time to have anything to do with my system time because i want the application to automatically …

Member Avatar for diafol
0
358
Member Avatar for saybabs

I really need someone to help me on the scenario below. I fetch all the rows in a database table with the mysql_fetch_array() and it was successful. I placed a button on each row in order to click and take the user to another page. On click of the button, …

Member Avatar for Biiim
0
145
Member Avatar for manjushreekaran

hello all, after tried so much now posting here. i have two programs sql.php and form.jsp. i want to do insert values into mssql database from user input form. sql.php is able to insert the values into database. i have connected database using ODBC.form.jsp is able to give user input …

Member Avatar for peter_budo
0
305
Member Avatar for aaloo

this is my as2 code , i m trying to get variable t outside the onload function but failed , somebody help me !!! [CODE]$i=0; myData = new LoadVars() myData.load("http://localhost/exercise/"+$i+".php") myData.onLoad = function(succes) { if(succes){ var t:Number =myData.total_pages; a.text=myData.t1 b.text=myData.t2 c.text=myData.t0 tp.text=t } else trace ("Error loading data") } next_.onRelease …

0
107
Member Avatar for dv1r

i know this is a stupid question but i just don't know :\ if i have 2 time variables [CODE] a = 00:00:12 and b = 00:00:05[/CODE] how would i add them together to make [CODE] c = 00:00:17 ?[/CODE] i get the data from the database in this format …

Member Avatar for Biiim
0
203
Member Avatar for TigerPrincess

I am not familiar with PHP. I found a php form emailer from [url]http://www.freecontactform.com/email_form.php[/url] and edited the .php file to match my html by changing the name elements. I already fixed the syntax error with line 38 by removing the +$/" from: [CODE] $string_exp = "/^[A-Za-z .'-]+$/";[/CODE] I tried to …

Member Avatar for Biiim
0
172
Member Avatar for Danny159

Hey, I have 2 scripts, one processes an ajax request and sets a session in that script but I cant seem to get the session to work in another script... (echo the session out) on the same server just a different file? Can anyone help? Dan

Member Avatar for Danny159
0
92
Member Avatar for jinu227

Hi, I have implemented an event calendar script. Its working fine. But I want to display the calendars of 3 consecutive months on selecting the month and year from drop down menus on submit with the selected month and year in between the other two as in Easy PHP calendar. …

Member Avatar for diafol
0
419
Member Avatar for JukesK

Im using PHPGenerator for mysql to generate some pages at work. Is it possible for me to do a MySQL query like below? Or am i trying something thats impossible?? [code] SELECT training.id, training.Employee_Name, training.Team_Name, training.Date_Requested, training.Course_Information, training.Training_Provided, training.Time_Taken, training.Trainer, training.Critique_Completed, training.Certification, training.Comments, training.file_name, training.file_type, training.file_size, training.Training_Information_Given_Was, training.Training_Course_Structure_Was, training.Training_Instructor_Was, training.Training_Instruction_Aids_Was, …

Member Avatar for smantscheff
0
158
Member Avatar for rajandass65

hi today i found out that our site is hacaked by pakcyberpyrates.They somehow edited my index.php and placed thier content.When i searched the net, thier are many site hacked by them for example SNIP. At present i have updated the index.php. Friends i need ur help to solve this problem. …

Member Avatar for rayidi
0
138
Member Avatar for blahbla

hi i want to be able to generate drop down menu's based on the database information these are the table information : [CODE] +--------+------------------+------------+ | tid | tname | sport | +--------+------------------+------------+ | 10000 | Boston Celtics | Basketball | | 10001 | New Jersey Nets | Basketball | +--------+------------------+------------+ …

Member Avatar for blahbla
0
160
Member Avatar for Giedrius

Hello guys i have a little problem with integration..Im using flashcoms WebcamChat trying to use integration so that can ppl login in to chat if they are registred on my website... The integration is work ok but the problem is password in mysql User_tabe passwords is not a simple they …

Member Avatar for Giedrius
0
229
Member Avatar for Shawn.Dohmen

I had my website designed using PHP and MySQL backend. Initially the website was designed with upper and lowercase letters in link names, obviously for better readability. Thus, we had links such as the one below, capitalizing the E of English: [url]http://www.islediscount.com/English/index.php[/url] Then, most people started typing in link names …

Member Avatar for Shawn.Dohmen
0
270
Member Avatar for n3xtgen

I have a simple web login application that requires a user to login to view the next page. The login page is HTML and when you click "Login" is goes to a PHP page to check the SQL Database. If it succeeds it goes to another HTML page. I want …

0
90
Member Avatar for stoopkid

Not sure if this is a PHP problem or IIS7 issue: My form is used for editing client information, and it has worked flawlessly for the last year until now. Some clients have more "Notes" about their file than others, and recently clients with a lot of "Notes" have been …

Member Avatar for mathieu89
0
124
Member Avatar for raf.fredi

Following is my code and I'm not able to write insert query and upload file. [CODE] <!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=iso-8859-1" /> <title>Untitled Document</title> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.js"> </script> <script src="http://cdn.jquerytools.org/1.2.6/full/jquery.tools.min.js"></script> <!-- This JavaScript snippet activates those tabs --> <script type="text/javascript"> …

Member Avatar for diafol
0
182

The End.