39,323 Topics

Member Avatar for
Member Avatar for asprin

Hello everyone. First, a little about me. I started off web development in .Net (C#) and found it to be not suiting my style. Then I moved on to PHP and instantly fell in love with it. I've been practicing it for the last 40-45 days and have covered up …

Member Avatar for FreeGeezer
0
267
Member Avatar for Surfsup

I have a simple JS script (below) that on click (of the element with an id of #addClass) adds a class (.switcher) to the body tag. The script uses jquery. I would like to know if it's possible using PHP to store that info and keep it intact when the …

Member Avatar for Surfsup
0
208
Member Avatar for jacksantho

Hi, I am Using iframe for the URL masking. But it's not working for me. Am using Xampp: [B]1. [url]http://localhost/professor.html[/url][/B] (a).professor.html page in xampp htdocs folder [B](htdocs/professor.html)[/B] (b).professor.html page -> Is a authenticated Page, getting userid and the password in the professor.html page and once the login gets true, moves …

Member Avatar for diafol
0
1K
Member Avatar for irwallace

Hi Guys, I was hoping someone could point me in the right direction. I have a nusoap server that I am trying to pass an array of data to. For now I just want to simply pass this array back, before handling this data, mainly to help my learning process. …

0
470
Member Avatar for h2so4_2003

I would like to pass values in anchoring. Keeping it visible I can use <a href=xyz.php?ID=123&action=delete> In above I would like [B]action=delete[/B] to be hidden. What to do? I cannot use [B]input type=hidden[/B] as I'm not submitting the form.instead requires onclick by clicking on reference page in anchoring and passing …

Member Avatar for ko ko
0
2K
Member Avatar for ravi52542

hi friends please send some links for how to use proper css and jquery......

Member Avatar for anand01
0
92
Member Avatar for Squit

hello ppl :) i use .htaccess for my PHP site to redirect without changing the URL in the adress bar for example: [url]http://www.example.com/news/This.is.a.new[/url] my .htaccess sends from /news/ folder sends the user to [url]http://example.com/news.php?id=142151[/url] ... and i can't send another variable to the [url]http://www.example.com/news/[/url] folder because is redirected to news.php?id... …

Member Avatar for Squit
0
1K
Member Avatar for webwiz

Hi all, I'm using @copy to copy large files from one server to another and it usually works fine. Occasionally it stops mid way through though and I have to start again. So I wondered if anyone knows of a way php can read my half copied file, compare it …

Member Avatar for webwiz
0
301
Member Avatar for stevenbeatsmith

I use dreamweaver, PHP and MYSQL. I need some help and any is appreciated, I have alot of knowledge in html learnt from some college, little in php and none in mysql, I am self teaching php and mysql, so forgive me if the question is too easy. :) Ok …

Member Avatar for stevenbeatsmith
0
233
Member Avatar for bavenbabu

I wanna to know the difference between mysql_fetch_Assoc and mysql_fetch_Array..I am a little bit confused at its usage..Kindly provide with a sample example also...Any help would be appreciated

Member Avatar for pritaeas
0
174
Member Avatar for Danny159

Hey guys, I am looking to encrypt some data into a database, however it will need to be decypt to be read... I know there is the base64 commands but im looking for something a little more secure? Does anyone know of any good solutions? Dan

Member Avatar for pritaeas
0
101
Member Avatar for hg_fs2002

I'm developing a website and I want to change the image of a page when NEXT button is clicked. I retrieve the images from my database and of course I do not want to retrieve repetitive images. This is my NEXT button: [CODE]<input type="submit" value="Next" onclick="synchronousAJAX()" style="position: absolute; left: 1085px; …

Member Avatar for diafol
0
2K
Member Avatar for Persi

Hi I need the code to use Calendar Date Picker in PHP. Can anyone help please? Thank You

Member Avatar for diafol
0
96
Member Avatar for sagarrayudu

This is my xml file [CODE]<CATALOG> <category> <name>Engineering</name> <subject>Civil Works</subject> <subject>Water Supply</subject> <subject>Street Lighting</subject> </category> <category> <name>Public Health</name> <subject>Sanitation</subject> <subject>Dispensaries</subject> <subject>Maternity Services</subject> </category> <category> <name>Town Planing</name> <subject>T.P.S</subject> <subject>T.P.B.O</subject> <subject>Tracer</subject> <subject>Chairmen</subject> </category> <category> <name>Administration</name> <subject>Ministerial Manager</subject> <subject>Revenue R.O.</subject> <subject>Accounts Accountant</subject> </category> </CATALOG>[/CODE] I have to get the all subject names in …

Member Avatar for veedeoo
0
208
Member Avatar for mayreeh

someone tell me where am going wrong <?php class myclass { var $config; function getname() { $q=mysql_query("select * from users"); while($row=mysql_fetch_array($q)) { $row[]=$minutes; } return $minutes; } .......................................... hers how i call <?php $name=new myclass; $new->getname(); foreach($new as $news) {echo $news; }

Member Avatar for mayreeh
0
116
Member Avatar for darianculbert

Hello, I have a site built with Wordpress and I want to create a form but I'm facing some troubles now. I want to have a form which can get the title of the post where I put the form, and more than one form fields on the same line …

Member Avatar for darianculbert
0
117
Member Avatar for R.Manojkumar

hi friends i use a htaccess file on my linux hoting server to change the "upload_max_filesize" and some other settings. but it shows the internal server error 500. how to change this setting on my server, Plz help me:( htaccess file code. php_value upload_max_filesize 50Mb php_value post_max_size 50Mb php_value max_execution_time …

Member Avatar for karthik_ppts
0
2K
Member Avatar for h2so4_2003

Hi, How do I set loginpage. Should I take loginpage.php page individually besides index.php or should I put loginpage in index.php itself? What to do? What's the proper method to go?

Member Avatar for scarcella
0
73
Member Avatar for Persi

I have two tables in one form and a button in another form. So the two tables must be displayed first and then the button. But for me the button is displayed between the two tables. Can anyone help me?? This is my code [CODE]<form action="choirEvedit.php5" method="post"> <?php $con = …

0
83
Member Avatar for jacob21

I want to retain selected value of city drop down list after refresh(any error occour). Need help Javascript code [CODE]<script type="text/javascript"> function showUser(str) { if (str=="") { document.getElementById("txtHint").innerHTML=""; return; } if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp=new …

Member Avatar for jacob21
0
247
Member Avatar for Tristan2036

I am adding a csv file upload script for my webid auction site. I tested it outside the webid script in a simple test database and it worked fine. I need to make some changes to it. It should catch the user's id and create an auto increment item id. …

Member Avatar for Tristan2036
0
168
Member Avatar for mohamedasif18

Hello Every One ! i started to learn CakePHP, i have installed it and working fine, now i need to learn how to run my applications and where i want to save my php files and how to run it?? Normally we run PHP files localhost/folder/index.php or something else, But …

Member Avatar for mohamedasif18
0
113
Member Avatar for Waardii

hi, I am currently making a website and was wondering how to make it so that when a button is clicked it will update a field in the database by +1. This is sort of a 'like' system for photos so someone can view a photo and then press this …

Member Avatar for karthik_ppts
0
3K
Member Avatar for gopi17

Okay this is my code, i can't get the else statement part to work...can anyone kindly assist me...i find nothing wrong with the syntax...thank u... ps: no error... [CODE]<?php session_start(); $host="localhost"; // Host name $username=""; // Mysql username $password=""; // Mysql password $db_name="test"; // Database name $tbl_name="testing"; // Table name …

Member Avatar for scarcella
0
92
Member Avatar for timwhelan

I need helping thinking though something. I am pulling dates, Year, Month of that year and an amount. I then want to go to the next year. So, 2010 then 12 rows of the months with amounts, then 2011 then 12 rows of the months printed out with amounts... Ex: …

Member Avatar for timwhelan
0
248
Member Avatar for vlowe

Hi can you advise if this is possible and how please? I have a cmd line program which i want to run "PPP.exe test" i then get a response saying i am in the program, then i need to send further perameters. "set username Bill" - i will get a …

Member Avatar for diafol
0
139
Member Avatar for arihantphp

Below is the code which is supposed to redirect to a page once the whole form is filled up, the code works like a charm on my XAMPP server (localhost) , but as i uploaded my pages to my hosting area, the page stops redirecting, all it does is come …

Member Avatar for vaishalrs2007
0
223
Member Avatar for danielbala

Hi.. I am trying to write a k nearest neighbor and BART bayesian additive regression tree algorithm for identifying Spam emails in php Can any1 guide me on how to implement these algorithm ? This is for my thesis..im just learning php.. If some one could give me sample code …

Member Avatar for danielbala
0
96
Member Avatar for zack654

Hi, I coded some web applications (blog, message board) all in procedural way, and now I want to start doing all that with planing and clean and extensible code. I now that OOP is the way, I checked MVC system of programming, and everything seems nice. I already know syntacs …

Member Avatar for veedeoo
0
240
Member Avatar for deyesborn

I want to retrieve email from database and send message to all the email address. I have written code for that but it is not working. I want someone to help me look at the code below and point out where am making mistakes and the correction. The first page …

Member Avatar for karthik_ppts
0
3K

The End.