39,326 Topics

Member Avatar for
Member Avatar for cherrya

Anyone can help me how to get data from one page to other page? here code : [CODE] <form action="" method="post"> <input type="hidden" name="id" value="<?php echo $id; ?>"/> <div> <p><strong>ID:</strong> <?php echo $id; ?></p> <strong>Nik: </strong><font class="important">*</font><input type="text" name="nik" value="<?php echo $nik; ?>" /><br/><br/> <strong>Name: </strong><font class="important">*</font><input type="text" name="firstname" value="<?php …

Member Avatar for baig772
0
585
Member Avatar for anthonyjpv

Hi! I need to know if theres a function that is simmilar to mysql_insert_id function where it gets the last inserted id but the thing is my id is not auto increment i tried doing the select statement but not working my scenario is: i am updating a record from …

Member Avatar for pritaeas
0
87
Member Avatar for dancks

I was given this assignment: Create an html form. Include at least two text boxes, at least one of which must be numeric, a set of at least three radio buttons, a submit button and a reset button. Upload to your account. Make sure the permissions are correct. Name it …

Member Avatar for baig772
0
360
Member Avatar for kinuthias

Somebody please help me come up with a code that helps a motorist troubleshoot a problem in his car.A non mobile application will also be a good one.

Member Avatar for diafol
0
39
Member Avatar for baruchM

I have a directory named action at the same level as my basic script. I want to include a file called Upload which is in the action directory in my script. I keep getting errors saying the script can't find my file, but my script looks identical to the book. …

Member Avatar for vaultdweller123
0
172
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
242
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
168
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
708
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
292
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
796
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
109
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
105
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
356
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
194
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
250
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

The End.