39,323 Topics

Member Avatar for
Member Avatar for showman13

Good Afternoon, I'm struggling with something that should be simple (where I have most trouble - simple things) Basically what I'm trying to do is when someone places an order on hold, I want to leave it on hold indefinitely unless someone else wants to place the same items on …

Member Avatar for showman13
0
240
Member Avatar for doctorphp

Hi, I am having a problem with a Facebook app. I am following the Facebook Developer tutorial and am using the following code. [url]http://developers.facebook.com/docs/appsonfacebook/tutorial/[/url] [code]<?php $app_id = "MY_APP_ID"; $canvas_page = "MY_APP_CANVASURL"; $auth_url = "http://www.facebook.com/dialog/oauth?cl… . $app_id . "&scope=email, user_about_me, publish_stream, publish_actions, manage_notifications&redirect_uri=" . urlencode($canvas_page); $signed_request = $_REQUEST["signed_request"]; list($encoded_sig, $payload) = …

Member Avatar for doctorphp
0
124
Member Avatar for Danny159

Hey... Can anyone help me fix this error please... [CODE]Parse error: syntax error, unexpected T_STRING in /mailer.php(45) : eval()'d code on line 1[/CODE] Line 45 is [CODE]eval("\$body = \"$body\";");[/CODE] But im not sure how to fix it :/ Dan

Member Avatar for Danny159
0
78
Member Avatar for welkam

Hello i am quite new to jQuery. I am trying to insert search results in to page without reloading it, but unsuccessful. Here is the code i am using: [CODE] $(document).ready(function(){ $("a").click(function(event){ $.get( "search.php", { query: "intel" }, function(data) { $('#content').html(data); } ); }); });[/CODE] i am using example form …

Member Avatar for mi.mac.rules
0
160
Member Avatar for Stickie

[CODE=php] <?php include('variables/variables.php'); ?> <div id="header"> <?php include ('includes/db-zelf.php'); // define your database connection credentials mysql_connect( $db_host, $db_user, $db_password ) or die(mysql_error()); mysql_select_db( $db_database ) or die(mysql_error()); /* KUBAGES */ $Luchtvr = mysql_query("SELECT * FROM Luchtvrachtpalletten WHERE ID='1'") or die(mysql_error()); while($Luchtvra = mysql_fetch_array( $Luchtvr )) { $kuubid = $Luchtvra['ID']; $kuubvol …

Member Avatar for Stickie
0
164
Member Avatar for danielagaba

Hi, I have a table populated by an sql query joining various tables. in every row i have a dropdown populated by another sql query and button (which for testing sakes) echos the value of the dropdown selected. My problem is for the first row of my table, whatever dropdown …

Member Avatar for danielagaba
0
171
Member Avatar for sankar113
Member Avatar for baig772

hi all i am new to java i want to run java php bridge as described [URL="http://php-java-bridge.sourceforge.net/doc/tomcat6.php"]here[/URL] now i am getting the following error [CODE]HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Could …

Member Avatar for NormR1
0
705
Member Avatar for samueal

I have a program to download files from server (using ftp_connect) using php and save the files in my local system.While saving the files in local system file's modified time changes according to my system time But what i need is the files saved in local should have the same …

Member Avatar for cereal
0
88
Member Avatar for Octet

I am attempting to send the data from a set of radio buttons to my MySQL Database so that I am able to get people to review the site. When I did my initial test with a single radio button in a test database all went well, however when I …

Member Avatar for Octet
0
290
Member Avatar for xuweisen

Hi, this is my website [url]www.byouinternational.com[/url] That website is a website that I make with full ajax programming.. I feel my website is quite long time loading the ajax content.. What do you think? Is it slow? Specially for the first page when you click the enter site.. Is quite …

Member Avatar for xuweisen
0
127
Member Avatar for amansingh

Please advise me, to this following group function in PHP. this works perfectly fine,it groups the airline name and starts with the MIN price, however the problem is that it also shows the season but it is picking the MIN season which is not required. I want it to pick …

Member Avatar for amansingh
0
154
Member Avatar for javedsai

Hi everyone, I'm using move_upload_function for uploading file. I works fine on localhost but, it doesn't work on live server. Thank in advance..

Member Avatar for javedsai
0
795
Member Avatar for HasNor

Hi all, i got a problem in my php web, i got error page that show "webpage has expired" when i want to go to previous page. Why it happen?? It happen sometime.. Do you have any idea to solve it?? Thanks for your sincerely help..

Member Avatar for HasNor
0
108
Member Avatar for paulhook

having problems with a header redirect i am trying to redirect to [url]http://www.mysite.com/somepage[/url] the problem is header info is being added before my link, so it is resolving as [url]http://www.mysite.com/component/uddeim/www.mysite.com/somepage[/url] my code is: session_start(); $adredirect = $_SESSION['goback']; header( "LOCATION:, $adredirect" ); the value stored in $adredirect is [url]www.mysite.com/somepage[/url] do you …

Member Avatar for paulhook
0
159
Member Avatar for jcomputing

Does anyone know where I can get a php script from that validates form fields and uses smtp authentication then sends an email of the information in the form.

Member Avatar for vaultdweller123
0
104
Member Avatar for cheelo007

Hello you all, first time posting and I am new to php. My question is regarding my registration and log in script. I have successfully added new users to my database, however I am having a problem signing in. Below is my script for handling my login page, Below that …

Member Avatar for hag++
0
353
Member Avatar for extjac

Hello there! I am new with PDO and I am trying to replace the old code with PDO... The main issue i have is that i dont know how to get/use the objects vs the arrays when it comes to showing data. Please see bellow examples and let me know …

Member Avatar for veedeoo
0
158
Member Avatar for patrick1981

I Need to to update multiple checkbox values on multiple records at the same time. When the form loads, it should display the sizes already selected for each style as stored in the style table and if we select or deselect any sizes on a style it should update the …

Member Avatar for patrick1981
0
11K
Member Avatar for cheelo007

Hello, this one is probably really simple, but I am a noob... I just want the password confirmation function to work and I would also like the password to not equal the username. I am running into a problem with how I set up the logic for my variables. Trying …

Member Avatar for cheelo007
0
11K
Member Avatar for basketmen

Hi guys, i have a content in one of phpmyadmin field [SIZE=2]screenshot[/SIZE] [IMG]http://i291.photobucket.com/albums/ll284/basketmen/phpmyadminfield.jpg[/IMG] the content is like this, its have two lines : [QUOTE]text1 text2[/QUOTE] usually its called from a php file, using a variable, like this [PHP]$xxx = explode("\r\n", $text);[/PHP] now i want to put the content, directly in …

Member Avatar for jstfsklh211
0
193
Member Avatar for BenzZz

Hi, I have a query which retrieves the most recent end_date of a contract. It works when i enter it into a cmd window but not inside my actual script as when i do a var_dump it shows as NULL. I don't understand why it works in one but not …

Member Avatar for BenzZz
0
114
Member Avatar for FrostMaster

Hey guys! I need to dynamically load result from query. Not all at the time, but by portions (like person scrolls down and they dynamically load). By now I add them all and then manipulate them with jQuery, but it makes final html code too large. Is there any other …

Member Avatar for diafol
0
80
Member Avatar for abhishek2301

Hello, I am trying to make a simple image editor by changing the brightness randomly. I have a simple HTML page with an image and a button which is supposed to be clicked and the brightness of the image will change to a random value using POST method and a …

Member Avatar for diafol
0
249
Member Avatar for jcomputing

This script says my message was ucessfully sent. I don't recaive any emails. Please can someone help me. <?php //set variable error var $er = 0; //enter the website the contact form is on $website = 'jonathan@jcomputingconsultants.co.uk'; //Set all POST variables $email = $_POST['email']; $name = $_POST['name']; $hereaboutus = $_POST['hereaboutus']; …

Member Avatar for pritaeas
0
251
Member Avatar for IanArcher

i want to place the contents of values from a form into a text file. When an option is changed in the form and submit button is clicked, the user is taken to another page where info about the company's address, website and so are displayed line after line like …

Member Avatar for IanArcher
0
212
Member Avatar for nadskap2

Hi there, DaniWeb. I have been struggling with this one for a while. How do i write a regexp that matches every {$*} wherein * is wildcard. I have written one: /\{\$(.*)\}/ and it works fine at regexpal.com, but not with my preg_replace:( [code] <?php $string = "Hello {$name}! How …

Member Avatar for diafol
0
126
Member Avatar for 21122012

roomID is used to list all record of some room ID, all the record is associated with roomBookingID. When a user clicked "modify", a form is supposed to show. However, a error message shown after I added the red statement. <?php require_once('../../config/conn.php'); $roomID=$_GET['roomID']; $sql="SELECT * FROM roomBooking where roomID = …

Member Avatar for cigoL..:)
0
210
Member Avatar for srdva59

hi, i have a configuration file with this content for example: test = "100"; teste2 = "300"; now need change the test from 100 to 300, i just want use something like this: function ( "test" , 300 ); how can i do that? thanks for help

Member Avatar for cigoL..:)
0
71
Member Avatar for zodehala

this is my code i wanna insert value starting with [B]cb[/B] into [B][I]no[/I][/B] table coming from form. but i cannot count $a (just starting with cb) value [CODE] foreach($_GET as $a=>$b){ $q1 = "UPDATE no SET drm = 1, s = '$time', h = '$dest' WHERE s = '$b'"; $q2 …

Member Avatar for pzuurveen
0
139

The End.