38,020 Topics

Member Avatar for
Member Avatar for 7kemZmani

Hello everybody, am working on a small php project and in some pages i have dynamic table to read date from another table in MySql database and i added into same table a javascript code for inserting new row. the fields in the table is: Value (input type="text") time (generated) …

Member Avatar for Stefano Mtangoo
0
150
Member Avatar for bipies

Well, all I want is to pass a variable, just one, to an iframe, I know that is something like: [CODE]<iframe src= 'http://blabla.com/bla.php?variable=string'</iframe>[/CODE] and inside the iframe something like: [CODE]$myvar = $_GET['variable'];[/CODE] But my problem is that my variables are URLS, with "?" and "&" so when I parse that …

Member Avatar for diafol
0
844
Member Avatar for jrotunda85

I'm trying to figure out the best way to replace apostrophes in various user input which is all formatted first using [B]mysql_real_escape_string[/B]. Of course this replacement should take place after all input has been sanitized and anything funny removed. :) Any help would be awesome!

Member Avatar for jrotunda85
0
249
Member Avatar for TheNinjaForce

I was looking at this [url]http://www.daniweb.com/web-development/web-design/html-and-css/threads/97183[/url] post and I did everything the guy said, but he did not say how to make up all the files. I made the login, members, and every other file he said make. But now im stuck with a bunch of files and I do …

Member Avatar for maxlipman
0
146
Member Avatar for RazorRamon

Ok I am stumped. I am inserting the data fine into the table and database so i know its not the config.php nor opendb.php. I used a code like this before and it work, i've only altered the $sql, the td's, and the $rows[]. Table name is hotspots (all lower …

Member Avatar for IIM
0
624
Member Avatar for bipies

Hi everybody! Well my question is as follows, I need to search for a div with a specific ID using php under wordpress, till now I found images and links, but I need to find a specific div ID and copy it, for now tested with this: [CODE] $html->find('$html->find('#divid');'); $html->find('div[id=divid]');[/CODE] …

Member Avatar for bipies
0
507
Member Avatar for bishaw

Hello friends i'm new in php programming, i'm using wampserver with php5.3.5 , but it shows error on this code [CODE] <?php $to = "bkstha2010@gmail.com"; $subject = "Test mail"; $message = "Hello! This is a simple email message."; $from = "someonels@example.com"; mail($to,$subject,$message,$headers); echo "Mail Sent."; ?> [/CODE] as well as …

Member Avatar for IIM
0
168
Member Avatar for rakeshsp

Hi Guys, Help me solve this... First I fetch values from DB and shows it in a table with check boxes. Once clicking OK button, it shows selected check box values. User modify any values and click edit, it should update the DB. I don't know where to fix the …

Member Avatar for diafol
0
164
Member Avatar for ashiiiish
Member Avatar for ashiiiish
0
126
Member Avatar for ebanbury

Hi I'm currently creating a property website and it allows users to submit upto 7 images/property. Currently on clicking the 'submit' button to Add A Propety my code checks for image size, file type and then moves the file from a tmp location to images/propertyimages file. All the images from …

Member Avatar for ebanbury
0
215
Member Avatar for asif49

I've been learning php and following the examples on w3schools until I came to this example and now I'm pretty stuck after having tried to make it work for countless hours. This is the bit I'm on: [url]http://www.w3schools.com/php/php_mail.asp[/url] I try to send the email using the following code: [CODE]<?php $to …

Member Avatar for asif49
0
272
Member Avatar for programmer12

Hi i just created a website for my church and the IE 9 is displaying it wrong.. Can some1 plz take a look at it and get back with me on why its doing that? [URL="http://www.lgm70.org"]www.lgm70.org[/URL] When i looked at it in IE 8 it shows everything that I created …

Member Avatar for programmer12
0
122
Member Avatar for vamshidhar66

Hi Frns, Am new to PHP, can anybody please tell me how to include a calendar in a form... Thanks in adv..

Member Avatar for vamshidhar66
0
57
Member Avatar for navi17

Hello, I need to post data to another server using jquery. Here is the code i am using [CODE] $.ajax({ url:"https://www.thewiseagent.com:443/secure/webcontactAllFields.asp", type:'POST', data:"ID="+$ID+"&Source="+$Source+"&notifyCc="+$notifyCc+"&notifyBcc="+$notifyBcc+"&noMail="+$noMail+"&CFirst="+$first+"&CLast="+$last+"&Phone="+$Phone+"&Fax="+$Fax+"&CEmail="+$CEmail+"&Message="+$message, success: function() { //window.location.href = "http://www.petlooza.com"; } }); [/CODE] i got error (302 object moved) in case of firefox/chorme although data is inserting.. but in case of …

0
79
Member Avatar for aldm

Hi, I'm working on one php project without using framework and I want to form nice urls without tons of get parameters and ? and & characters. I know this could be solved in zend using controllers and actions and I'm looking for somerhing simillar. On my site, I have …

Member Avatar for aldm
0
251
Member Avatar for Dorar

[B]I want to learn by myself any one of web development languages. i dont have an idea about which is best to learn PHP or HTML or CSS or do i need to study each one in order to use each one for some purposes.. what is the difference between …

Member Avatar for twiss
0
2K
Member Avatar for jrotunda85

For my new code that I'm developing, I have a text box where a user will type in a date as follows: [B]MM/DD/YYYY (e.g. 05/19/2011)[/B] This date then needs to be converted and inserted into a date/time field on a mySQL database. I've been trying to play around with this …

Member Avatar for divyakrishnan
0
895
Member Avatar for swilliamrobert

Hi, I want to destroy session when user close the browser tab or window in PHP. Please give me sample code. Thanks in advance. William

Member Avatar for divyakrishnan
0
213
Member Avatar for abhi10kumar

What is the full code that redirects all urls (including subfolders) without www For example: [url]http://www.abc.co.in[/url] redirects to [url]http://abc.o.in[/url] as well as [url]http://www.abc.co.in/subfolder[/url] redirects [url]http://abc.co.in/subfolder[/url]

Member Avatar for blocblue
0
71
Member Avatar for rpv_sen

Hi Friends i have some problem in update my dynamic text box value for particular id alone, i want to update only the 2 column fields into my database, i have used the below code. i am not able update the fields into my DB. Please help me to solve …

Member Avatar for rpv_sen
0
3K
Member Avatar for naru vaishnaw
Member Avatar for geekme

I work on ubuntu 10.10.Please suggest me a php editor or IDE that I can use so that it highlights my syntactical and other errors.I currently use gedit which does not helps much with detecting typing errors. Regards.

Member Avatar for iyngaran
0
150
Member Avatar for uselessninja

hi people.......i've already had my mysql table displayed in html......how can i update the table (a specific row or a the whole table maybe) ...by clicking the HTML table? .... btw i already a update feature im my document (1 text field and 1 button) but i want to update …

Member Avatar for uselessninja
0
73
Member Avatar for PinoyDev

Good day to everyone! I just want anybody to correct my code. The code tells that when i click on the button it will dispay a msg that will confirm if the client really wants to add the information, If yes then he will be redirected to another page, if …

Member Avatar for ivancarrascoq
0
2K
Member Avatar for TedMosby

I am new to PHP and looking to create a reporting site. I have created simple page that will return me a data set from a Stored Procedure in SQL Server. I'm now looking to be able to create dashboards with graphs and interactive reports. Does anyone know of where …

Member Avatar for diafol
0
64
Member Avatar for cjohnweb

I am having trouble with a PHP foreach loop....I know how they work, I think I'm getting unexpected results. A bug perhaps? Am I missing something? [code] if(is_array($array)){ foreach ($array as $k => $v){ echo "<b>#$k</b><br />"; foreach ($v as $kk => $vv){ foreach ($vv as $kkk => $vvv){ if($kkk …

Member Avatar for pritaeas
0
232
Member Avatar for navi17

I have lots of pets in a dropdown. what i want to achieve is that when ever i hover on dropdown, it will display the image of particular pet as a popup. Any idea how can i achieve that?

Member Avatar for diafol
0
97
Member Avatar for dmelgray

When I do the initial install I get this: Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on 'localhost' (10061) in D:\Hosting\6585577\html\rhythmmovement\install\index.php on line 18 Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in D:\Hosting\6585577\html\rhythmmovement\install\index.php on line 19 Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource …

Member Avatar for diafol
0
199
Member Avatar for ton7io69

I am currently using iframe to boost my youtube video views, EXAMPLE: <IFRAME SRC='http://youtube.com/VIDEO' SCROLLING='no' WIDTH='1' HEIGHT='1' FRAMEBORDER='no'></IFRAME> I would like to know how to do the same thing in PHP? Can someone please send me an example of an almost invisible iframe as above but only in PHP. Sorry …

Member Avatar for diafol
0
80
Member Avatar for heshanm

Hi all, I want to perform cash transactions such as cash deposits and cash withdrawals in my project.Here i have created a page called [B]transaction.php[/B] to fulfill those requirements.But there were few error which i need your help to sought it out.. [B]account[/B] (account_number, account_type, fd_period, account_balance, account_interest ) [B]transacion …

Member Avatar for ko ko
0
113

The End.