38,023 Topics

Member Avatar for
Member Avatar for sam023

i m getting this bug.. and i still cant understand why this happening..?? here is my php code [code=php] $query1 = "call new_user('$cardDigits','$cardNo','$amount','$traiff','','','','','$creator',@_lastname,'$customer','$firstName','$email','0','0')"; $result1 = mysql_query($query1) or die('query_error'.''.mysql_error()); $lastname = mysql_fetch_row($result1); // Generate New User $query2 = "genrate_user('$lastname[0] ','$creator')"; echo $query2; $result2 = mysql_query($query2) or die('query_error1'.''.mysql_error()); [/code] Procedures are working …

Member Avatar for sam023
0
9K
Member Avatar for mr_scooby

hi guys, I would like to be able to take all the output of a order form and the database output of the selected items and return it to a xml document. I tried the file_get_contents and that just took the actual code from the php page. My website is …

Member Avatar for mr_scooby
0
77
Member Avatar for garcon1986

Hello everyone, Actually, i'm working on a binary tree for building a dynamic orgnizational chart. I have a concrete idea about that. First, Create a binary tree. Then, display it with GD library. But it's the first time, i'm trying to do it. And i hope for your advice and …

Member Avatar for garcon1986
0
109
Member Avatar for sarithak

hi frnds... i want the code for play audio files through my website..... alla audio files r placed in my server itself..how can i do this... which player is the best one. how can i add the code in my web page.plz send the script...

0
84
Member Avatar for coder4Ever

Hi my friends , I was working on a web page and want to send users comment to the website owner .I use wamp server .... Here is the php code <?php $to='compnay@yahoo.com'; $from=$_POST['txtEmail']; $title=$_POST['txtTitle']; $body=$_POST['txtMsg']; if($_POST['form1'].submit)// to check wheter the form has been sent or not //echo 'thank you' …

Member Avatar for Will Gresham
0
81
Member Avatar for Chad Gary

I have an HTML form with checkboxes. Based on the checkboxes that are selected I'm trying to contentate a query string so the select checkboxes are inserted in an IN clause in my SQL statement. I'm recieving an error that is telling me something is wrong with my sql statement. …

Member Avatar for diafol
0
93
Member Avatar for sameh7

hello every one! please :: i wanna to send link from my own server to another server as rapidshare ,, mediafire,, i have an uploader and want after upload image to my site send it to rapidshare and get it link.... thanks

Member Avatar for diafol
0
120
Member Avatar for hemgoyal_1990

Hi all, I Have a Problem in my Function. I am created a Recursion Function in PHP and also Created a Array. But I Have a Trouble That How to Store This Recursion Function Value in Array. Please Help Me I Want to Store Recursion Function Value in PHP and …

Member Avatar for Atli
0
171
Member Avatar for foxwizzy

hello all i am new to this forum and need some help whit php. I am trying to create a script that shows the number of users online. [CODE]<?php $host = "xx.xxx.xxx.xx"; $user = "xxxx"; $pass = "xxxx"; $db = "users" $conn = mysql_connect("$host", "$user", "$pass") or die ("Unable to …

Member Avatar for diafol
0
217
Member Avatar for syncy

I'm really having some difficult wrapping my head around regex and preg_replace. What I want to do is have a function that scans an entire page for any <a href> tags pointing to Youtube and then convert them into an embedded youtube video. Here's a code to show kinda of …

Member Avatar for syncy
0
421
Member Avatar for nccsbim071

I have a php website which i want to run in C# wpf webbrowser control. I have a validated a username and password for the site by connecting to it's database using .net. Now i want the functionality to take username and password and submit the post form to php …

Member Avatar for nccsbim071
0
648
Member Avatar for veledrom

Hi, X user uses his/her windows/Linux based software to publish content (job, item to sale or rent etc) in my PHP website. Something like posting data from a computer based software to website OR from a website to a website. I’ll start doing this based on you guys’ information. Thanks …

Member Avatar for Atli
0
123
Member Avatar for yonghan

Hi all,suppose i got two rows like this picture [url]http://i575.photobucket.com/albums/ss197/yonghan79/ask-1.jpg[/url] I'm trying to change the modified column value to current datetime without refreshing the page when i click the update button..The first row worked,the second doesn't work..Here is my codes views/order_home [code] <script type="text/javascript" src="<?php echo base_url(); ?>js/jquery.js"></script> <script type="text/javascript" …

Member Avatar for Airshow
0
828
Member Avatar for muralibobby2015

hello.... i want to do the validations in registration form. but my validation is when the user enters the value in textbox that value automatically cheks that value is already in database or not. for example..........username textbox is there..now i am entering value first three letter "kal" then comes beside …

Member Avatar for jomanlk
0
222
Member Avatar for dan1992

wats roang in here .. [LIST=1] [*]<?php [*]ini_set('display_errors', 1); [*]//connecting to database [*]$error = "nu am putut sa ma conectez :("; [*]mysql_connect('localhost','root','')or die ($error); [*]mysql_select_db('dan') or die ($error); [*]//max display pet page [*]$per_page = 2; [*]//get start variabel [*]$start = $_GET['start'] ; [*]//cont record [*]$record_count = mysql_num_rows( mysql_query("SELECT *FROM news")); …

Member Avatar for dan1992
0
172
Member Avatar for sartori

Not sure this is the best place to post this: I'm an experienced C++ oop developer wanting to develop my own semi-complex website ( e.g. with very nice GUI and graphics in general). I've used Qt for C++ GUIs I'm a newbie to web development, and after researching languages, it …

Member Avatar for network18
0
75
Member Avatar for vaultdweller123

ei could someone help me with my problem. I got error running my projects on localhost. I dont know what caused this, but this problem occured when i replace my wampserver2.0c to the latest version wampserver2.0i. before there is no error it works fine. but now when i logged in …

Member Avatar for vaultdweller123
0
86
Member Avatar for brianzet

Hello all. I've got this upload script, working just fine. [CODE] <?php error_reporting(0); $change=""; $abc=""; define ("MAX_SIZE","400"); function getExtension($str) { $i = strrpos($str,"."); if (!$i) { return ""; } $l = strlen($str) - $i; $ext = substr($str,$i+1,$l); return $ext; } $errors=0; if($_SERVER["REQUEST_METHOD"] == "POST") { $image =$_FILES["file"]["name"]; $uploadedfile = $_FILES['file']['tmp_name']; …

Member Avatar for Atli
0
175
Member Avatar for LindaLou

Hi, I am getting 3 warning messages below: Warning: mysql_free_result() expects parameter 1 to be resource, null given in J:\xampp\htdocs\propertypages\resultsForSale.php on line 660 Warning: mysql_free_result() expects parameter 1 to be resource, null given in J:\xampp\htdocs\propertypages\resultsForSale.php on line 662 Warning: mysql_free_result() expects parameter 1 to be resource, null given in J:\xampp\htdocs\propertypages\resultsForSale.php …

Member Avatar for network18
0
101
Member Avatar for nits4u

hey guys i m trying to retrieve data frm Db.. Its a very simple query what cant understand whats going wrong with the code. It shows "[I]Parse error: parse error in C:\wamp\www\php\table.php on line 35[/I]" here is the code: <?php // creating table include "var1.php"; mysql_select_db('wiley'); $qry="SELECT movie_name, movie_leadactor, movie_director …

Member Avatar for nits4u
0
143
Member Avatar for manoj2161
Member Avatar for Atli
0
90
Member Avatar for waveguy

Hi, I am new to this forum, actually this is my first post ever on any forum. I joined because I would like to send a post to a facebook account via php script. Has anyone done this?

Member Avatar for waveguy
1
104
Member Avatar for Jayakrishnan_gk

Hey i'm a newbie.... Just started using php.... Been a month now !!! I use notepad++, firebug and a wamp server for all my development work.... Can anyone suggest good tools that'll make my work easier... and also a good debugger .....

Member Avatar for Calver
0
79
Member Avatar for CFROG

Does anyone know of a php based forum that is easily customizable to work with an existing user base so that members don't have to register or sign in a second time when they access the forum? I heard that this is possible with phpbb3 but I haven't seen anything …

Member Avatar for CFROG
0
336
Member Avatar for potatosoftware

Hi there, I intend to create a dashboard on the web. You might already know about Google analytics : my application would resemble that. However that would not be easy unless I can find charting + grid controls. etc. Any suggestion ? I also wonder after discovering this application : …

Member Avatar for pritaeas
0
100
Member Avatar for Kadence

I'd like to turn PHP off within a folder, with the exception of certain files (e.g. disabling PHP for all files but test1.php and test2.php, or test*.php). I believe PHP can be turned off for a folder by placing "php_flag engine off" within that folder's .htaccess, but how can I …

Member Avatar for Kadence
0
111
Member Avatar for masocha

Ok here is my code for the authenticate page. When l log in it comes on blank. [CODE]<?php if(isset($_POST['log'])) { $username = $_POST['username']; $pass = $_POST['passd']; include("connectOrder.php"); $sql = "SELECT * FROM users WHERE user_name='$username' AND password = '$pass' AND access_level != 0"; mysql_query($sql); $num=mysql_num_rows($sql); if($num == 1) { session_start(); …

Member Avatar for network18
0
189
Member Avatar for masocha

Ok l am coding a simple PHP & Mysq session based athentication. l have done numerous of these before with success. Sadly this one cant run,. Someone pliz send me the correct code.

Member Avatar for network18
-4
64
Member Avatar for kira4

Don't know why my coding appear this error: "Notice : Undefined index: PK in c:\easyphp1-8\www\associationdeleteprocess.php on line 24" But I still can delete my database. Who can help me to solve this problem? This is my "AssociationDeleteProcess.php" coding: [CODE]<html> <head> <title>Index</title> </head> <body background="E-Filing%20Management%20System%20Picture/Snow.gif"> <p align="center"> <img border="0" src="E-Filing%20Management%20System%20Picture/logo-RR-gif.gif" width="957" …

Member Avatar for kira4
0
100
Member Avatar for Folaju

hi i keep getting this error on my php page Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/internal/public_html/includes/xpage_admin.php on line 871 Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/internal/public_html/includes/xpage_admin.php on line 877 the code below works perfectly on my test …

Member Avatar for Folaju
0
201

The End.