39,316 Topics

Member Avatar for
Member Avatar for ettypaldos

I would like to alter the example provided [URL="http://www.w3schools.com/php/php_ajax_database.asp"]here [/URL]so that there is a second dropdown input for 'Male/Female'. I know the example itself does not provide a 'Sex' field in the MySQL db, but let's just pretend it does. Furthermore, assume we have a new in out select for …

Member Avatar for johns1982
0
5K
Member Avatar for dyingatmidnight

Hi there, I'm trying to create a button that toggles an sql query. I have a navigation bar with certain elements hidden by the admin, the admin can preview the page and there's a toggle button to hide or show the items that are marked as hidden. $sql = "select …

Member Avatar for dyingatmidnight
0
172
Member Avatar for dschuett

I have an application that I wrote that allows users to upload files (pictures or PDFs). I am using IIS 6 and php 5.4. The problem I am having is that it seems like file uploads are getting cached somehow. For example, if I upload the same file over and …

Member Avatar for dschuett
0
128
Member Avatar for trektrak

Hello guys, I tought this is simple at a very 1st place... but I didn't manage to do it .. Anyone of you can give me an idea on how to do this... I've created a web apps that required authentication. and yeah ... oh the user setting section I …

Member Avatar for vibhaJ
0
182
Member Avatar for dyingatmidnight

Hi there, so my site has a public side and an admin side, the admin side which requires a login. The used id is stored in a session variable to limit access to certain features based on the number. In the admin side a user and show or hide pages …

Member Avatar for dyingatmidnight
0
182
Member Avatar for harshm027

Hi, How to pass an array to a form which is above the part where the array is created I have a php script with html in it. The page is divided into blocks using div tags. There is a form in a div tag which is at the top …

Member Avatar for harshm027
0
108
Member Avatar for zagam2

Hi I need to do in wordpress, when we click on readmore post option then post will open in a popup window , (show full post in popup or show only after readmore link) Can some one give me any plugin for this or any code or guide line..! thanks …

Member Avatar for vaibhav_j
0
156
Member Avatar for harshm027

Hi, I am designing a system wherein a student can search projects based on technology, project type, location etc etc. The search form goes like this :- Project Type - HTML Select Option - Example:- Automobile, Manufacturing, Marketing, Communication Technology - Text Input Type - Example:- HTML, CSS, Java Starting …

Member Avatar for harshm027
0
3K
Member Avatar for dwlamb

I am looking for a method with one or more php functions for manipulating form textarea data. I want to clean it up by indenting it and wrapping it after a certain length with EOL but not necessarily html <br> or <br /> before it is inserted in My database. …

Member Avatar for dean8710
0
107
Member Avatar for divyakrishnan

Hi... I want to display associative using variable as its key value. I used the following script. But it is not functioning. <body> <?php if(isset($_POST['st'])) { while ($item = current($_POST)) { echo $_POST[$key]; next($_POST); } } ?> <form id="form1" name="form1" method="post" action="mysql_inj.php"> <p> <label for="textfield"></label> <input type="text" name="t1" id="textfield" /> …

Member Avatar for ko ko
0
2K
Member Avatar for PF2G

Hi, i'm using a javascript so i can do a messagebox confirmation, and then it goes to a .php where is the delete sql. But is not working: <!----------------------------------------------> <script language="JavaScript"> function confirmBox(id) { if (confirm("Tem a certeza que pretende eliminar este utilizador? ")) { location.href="remover_user.php"; } else { return …

Member Avatar for jmichae3
0
176
Member Avatar for Elandir

Hello there! I've been trying to import data from csv file to remote postgre database with no luck. Locally i can do it with simple COPY query, but that only works because i'm superuser. \COPY command also works when i run it in psql. So the question is: how can …

Member Avatar for Elandir
0
171
Member Avatar for jamojo

Hello everyone, I am trying to play a HTML5 Video using a MP4 file hosted in Amazon S3. I found a file called S3.php and this is the method that I am using public static function getAuthenticatedURL($bucket, $uri, $lifetime, $hostBucket = false, $https = true) { $expires = time() + …

Member Avatar for veedeoo
0
1K
Member Avatar for afrogfx

**can help me please .. when i need to remove MAX_SIZE from my code and $dir='upload'; because function create thumbnail in images folder Nd i think error in this code if(move_uploaded_file($t_name,$dir."/".$name)) {** <?php //define a maxim size for the uploaded images define ("MAX_SIZE","1000"); // define the width and height for …

Member Avatar for Squidge
0
240
Member Avatar for Duki

Hey everyone, I'm pretty new to web design in general, so I'm not really sure how to get started with this. I have a wordpress site that I would like to be able to manage user profiles on. The built in account management stuff works great for regular logon/off sessions, …

Member Avatar for veedeoo
0
149
Member Avatar for ehpratah

hi i'm just wondering on how can i make all the type text in my textbox all uppercase using php? tnx Alot..

Member Avatar for designershiv
0
175
Member Avatar for richlacey

Hi there guys, I wonder if you could help. I have a small issue when using the below code with certain browsers mainly with the echo image part. at the moment the code checks to see if there is an image name in the field and then appends to the …

Member Avatar for richlacey
0
116
Member Avatar for technoknol

hello there, i want to make my web application to desktop application. My application is in php so i want to create a exe file from php. is there any way ? thanks.

Member Avatar for technoknol
0
2K
Member Avatar for vijayram

Hi everybody, i created ajax uploader.what is the problem in my code. upload file failed message display. anybody,plz help me. This is the my action file. class pictureActions extends sfActions { /** * This function may update later when plugin is used. */ public function executeUpload(sfWebRequest $request) { $planbook_id = …

Member Avatar for pritaeas
0
127
Member Avatar for phoenix_2000

Hello, For my current project i'm working with a lot of nested arrays and objects. i'd like to be able to see all their values just as vardump does, but that function doesn't go as deep as i'd like. I already tried the krumo library, but it didn't show me …

Member Avatar for pritaeas
0
98
Member Avatar for collinskawere

am getting an error that "Notice: Undefined variable: new_string in C:\wamp\www\plus256 beta\search.p". someone help me figure out wat's wrong coz am goin nuts. <?php include 'header.php'; echo '<div align="center">'; include('class.stemmer.inc'); include('cleaner.php'); include('connect.php'); if(isset($_POST['submit'])){ $search = $_POST['search']; $stemmer = new Stemmer; $stemmed_string = $stemmer->stem($search); $clean_string = new cleaner(); $stemmed_string = $clean_string->parseString($stemmed_string); …

Member Avatar for pzuurveen
0
350
Member Avatar for newbie1234

i made some pages. When i am running on xammp server, its working fine, every form gets submits and i can see data in database. After that i upload on net webserver, here page showing is ok. But when i am submitting the page than data is not comming in …

Member Avatar for phoenix_2000
0
90
Member Avatar for eoop.org

Hi, i am getting this error for an email activation function. can someone help me removing this error message and make it work? ## Error: ## Warning: mysql_result() expects parameter 1 to be resource, boolean given in /home/prevpxmj/public_html/core/functions/users.php on line 6 ## Code: ## <?php function activate($email, $email_code){ $email = …

Member Avatar for tyson567
0
207
Member Avatar for prvnkmr449

<?php session_start(); if(!isset($_SESSION['userid'])) { print '<script type="text/javascript">'; print 'alert("Login to submit resume.")'; print '</script>'; header('location:login.html'); }?> <html xmlns="http://www.w3.org/1999/xhtml"> <head> i try every thing still im getting the same problem Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/royal/public_html/submitresume.php:1) in /home/royal/public_html/submitresume.php on line 2 …

Member Avatar for Szabi Zsoldos
0
418
Member Avatar for jamojo

Hello everyone, can you please help me regarding on converting duration to milliseconds. I have a code below working but need to include the hours. I do not know what is the best practice regarding this but please advise. Thanks in advance. list($get_minutes, $get_seconds) = explode(':', '1:27:04'); $minutes = $get_minutes …

Member Avatar for diafol
0
111
Member Avatar for daniel36

Can any body provide me countdown timer script similar to [Website](http://www.groupclone.net/) .I am searching this type of timer from 3 days.Please help me?

Member Avatar for TrustyTony
0
112
Member Avatar for opticblaze

Hi there, I got the following challenge. I have a site that is hosted on a windows 2010 server and i am trying to get the website to send emails. The site runs on Apache 2.2.9, PHP 5.2.6 and we set it up to run on port 6000. I have …

Member Avatar for Squidge
0
191
Member Avatar for ak47carbon

header is not working in iframe tag of html <!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> <iframe src="blog3.php" frameborder="0" width="100%" height="600px" scrolling="yes" ></iframe> </body> </html> and at blog3.php there is a an header command <? ob_start(); ?> …

Member Avatar for diafol
0
183
Member Avatar for emclondon

I'm trying to upload an Image to PHP. The most common method I found out to do this was using FORM/POST; But that doesn't help me for what I am about to do. What I actually am trying to do is upload an image to PHP, the PHP Script will …

Member Avatar for pritaeas
0
685
Member Avatar for GlenRogers

I'm pretty sure this is done with php, but have no idea how to do it! I built a simple website for a friend that owns a reptile shop. But I need to be able to sort it so that he can change/update his own stock list. The stoock list …

Member Avatar for Squidge
0
148

The End.