39,316 Topics

Member Avatar for
Member Avatar for sting23

hi im still a beginner in PHP and this is the code i have so far and it only calculates value of two numbers put in manually. I want to generate two numbers and add the values. [code] <form name="form1" method="post" action=""> value1: <label> <input type="text" name="value1"> </label> <p>&nbsp;</p> <p> …

Member Avatar for manishmannan
0
1K
Member Avatar for prem2

Hi, I have large number of records in the database.Each page displays 5 records.I am using a query "select * from tablename limit 0,5";When ever user clicks next button the limit starting value increased by 5.When user click previous button the limit value decreased by 5.Now,my problem is i want …

Member Avatar for hashinclude
0
51
Member Avatar for manishmannan

Hello friends this is manish once again i am not new to php but i have got some problem in my code that is working on our previous server but now it is not working what should be the reason i have the following which work fine in our previous …

Member Avatar for manishmannan
0
120
Member Avatar for muralibobby2015

hello, i am doing check all checkboxes in a single click. i have multiple groups is there in one page. but first block is working. from second block onwords it is not working. plz help me. here is my code [CODE] <script type="text/javascript"> function checkstate(chkname,k) { //alert(chkname); //var chk="chkall"+k; //alert(document.getElementById("chkall"+k+"[]").checked) …

Member Avatar for muralibobby2015
0
87
Member Avatar for whiteyoh

Hi, I have installed NUSOAP and i get error messages 100% even from examples. My PHP knowledge is fair. Here is my situation (that cant be changed). A user on a 3rd party site clicks "BUY". The response to that is a URL to me containing a GUID and the …

0
54
Member Avatar for Ir$had

can any1 help me with my final year project :( plzzzzzzzzzzzzzz HELP EMAIL ME on <snipped>

Member Avatar for hashinclude
0
140
Member Avatar for masocha

l need to make the following which is a joomla result button open in a pop up window onclick="document.location.href='[php echo JRoute::_("index.php?option=com_poll&id=$poll->slug".$itemid); ]'" />

0
66
Member Avatar for taieb

hello I'm new to this I have not knowledge and I want to install a php script for classified web site but I can't find the connection string? some body help please, thank in advance TD.

Member Avatar for OS_dev
0
61
Member Avatar for niths

i am getting error at $sql = "SELECT role FROM users WHERE username = '$username' and password = '$password'"; $result = mysql_query($sql); as ----Query was Empty---- <html> <body> <form action="login.php" method="post"> <div> <table width="100%"> <tr> <td><img src="Logofinalcopy.gif"></td> </tr> <tr> <td bgcolor="aqua"><h2>Login</h2></td> </tr></table> <table align="right" style="width:40%"> <br> <tr> <td>username:</td> <td><input type="text" …

0
32
Member Avatar for mrcniceguy

I HOPE YOU ARE ALL FINE) In my web i`m using image magic or GD library to resize photos when someone upload them to the server. This makes me create alot of thumbnails for a single photo. So i`m asking if their is any function in PHP which can resize …

Member Avatar for cwarn23
0
65
Member Avatar for elijahmangwe

Below is the the code where I am trying to to update my food items into the database but am failing to do it, any corrections will be helpful. Thanks in advance [code] <?php // set database server access variables: $host = "localhost"; $user = "root"; $pass = ""; $db …

Member Avatar for crunchie
0
86
Member Avatar for Monster Killer

I am making my own CMS website and the body content is echoed onto the page however some of the page content is php code but the actual code is echoed out. How can i make it so that it works properly. Code: [CODE]<div id="form"> </div> <h1>Form</h1> <br /> <?php …

Member Avatar for jonathanroy
0
204
Member Avatar for levsha

I have a textbox on my form. I type in some text, then I submit the form, and it seems that my script doesn't see the text in the input element and treats it like empty: [CODE] <?php $invname = $_POST['invname']; if($invname == '') {print "You have not entered the …

Member Avatar for levsha
0
131
Member Avatar for steven2

The web server is Apache. I want to rewrite URL so a user won't know the actual directory. For example: The original URL: [url]www.mydomainname.com/en/piecework/piecework.php?piecework_id=11[/url] Expected URL: piecework.mydomainname.com/en/11 I added the following statements in .htaccess: [CODE]RewriteCond %{HTTP_HOST} ^(?!www)([^.]+)\.mydomainname\.com$ [NC] RewriteRule ^(w+)/(\d+)$ /$1/%1/%1.php?%1_id=$2 [L][/CODE] Of course I replaced mydomainname with my domain …

0
89
Member Avatar for futhonguy

Hi people, I have a huge data stored in my database server and am currently trying to work out a script in order to update my data in the server. This update comes from an Excel spreadsheet. I did search on Google/Yahoo and found websites like PHPExcelReader or PHPExcel. My …

0
64
Member Avatar for mama_rock

i have make my own system. the system is about application for a leave using online. the problem is, when i using Internet Explorer8 the submenu cannot be click. there is the coding that i have attach with. [B](admin_phpddm.php)[/B] [CODE=php]print "<!-- PHP Drop Down Menu 0.4 by Stefano SteO Arcidiacono …

0
71
Member Avatar for cwarn23

I thought I would let you's php gurus know that I am starting to come close to cracking the Sha1 algorithm. And surprisingly it is an easy one to crack. So I would recommend switching to something like the whirlpool algorithm.

Member Avatar for cwarn23
0
646
Member Avatar for BlackMamba24

Can someone tell me why I cant get anything to echo properly with this? <?php session_start(); $_SESSION['company'] = $_POST['company']; $_SESSION['firstName'] = $_POST['firstName']; $_SESSION['lastName'] = $_POST['lastName']; $_SESSION['phone'] = $_POST['phone']; $_SESSION['email'] = $_POST['email']; ?> ... This is on one page <h2><a href="Conference_Start.php">Personal Information</a></h2> <p>Company Name: <?php echo $_SESSION['company'] ?> <br />First Name: …

Member Avatar for BlackMamba24
0
93
Member Avatar for yun

i m newbie in web development plz help me to sort out the problem.. the problem is: in [B][U]edit.php[/U][/B] when control enters in if condition it never goes to else when i press the edit button. i want to get id from view.php and display category name in edit.php textbox …

Member Avatar for almostbob
0
90
Member Avatar for glenntamis

I need to design a site which has an iframe that links to pages on another site. the site would work as usuall in the iframe. the site when running directly works fine passing out all the session variables, but when working in the iframe the session variable loses out …

Member Avatar for whiteyoh
0
44
Member Avatar for yun

i m newbie in web development plz help me to sort out the problem.. the problem is: in [B][U]edit.php[/U][/B] when control enters in if condition it never goes to else when i press the edit button. i want to get id from view.php and display category name in edit.php textbox …

Member Avatar for diafol
0
130
Member Avatar for azegurb

Hi all I have simple PHP News publishing script and it has pagination system. This script also has an option to display only active news which activated by admin. it displays one big picture at the center and four little picture at the right side. but it has little shortage. …

0
71
Member Avatar for whiteyoh

Hi All, Below are two files, one being the index page, and one being the functions page. My problem is when i use a function it just gives me a blank screen. The echo at the top of the index page is simply a sanity check. Do i have an …

Member Avatar for whiteyoh
0
84
Member Avatar for sim_pack

i'm not sure if this is the correct forum to start this thread.. my apologies.. my concern is will there be an effect in my site's ranking and visibility if i change my index file from .html to .php? any tips on how to ensure the smooth transition from .html …

Member Avatar for OS_dev
0
88
Member Avatar for WoW Me Web Girl

im building a clone youtube site and the templates have smarty code every-time i try to add a style to it or even change the bg color of the template i get this error. could someone show me an example on what im supposed to do. and how it should …

Member Avatar for WoW Me Web Girl
0
375K
Member Avatar for steven2

The website is running on a web hosting where we don't have access on htaccess file.The web server is Apache. I want to rewrite URL. For example: The original URL: [url]www.mydomainname.com/en/piecework/piecework.php?piecework_id=11[/url] Expected URL:piecework.mydomainname.com/en/11 How to do it?

Member Avatar for steven2
0
79
Member Avatar for cwarn23

I have been designing a security system to stop bots from spamming my forum. Basically, it will check if there is any isp name detected from the ip address then if there is no detected isp, the submitted post will not be made. I know to detect the ip address, …

Member Avatar for kvprajapati
0
2K
Member Avatar for niths

---Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\Program Files\Apache Group\Apache2\htdocs\Project\login.php on line 72---- <html> <body> <form action="login.php" method="post"> <div> <table width="100%"> <tr> <td><img src="Logofinalcopy.gif"></td> </tr> <tr> <td bgcolor="aqua"><h2>Login</h2></td> </tr></table> <table align="right" style="width:40%"> <br> <tr> <td>Username:</td> <td><input type="text" name="username"></td> </tr> <tr> <td>Password:</td> <td><input type="password" name="password"></td> </tr> …

Member Avatar for as.bhanuprakash
0
320
Member Avatar for rukshilag

As you wud have seen i am working on a search field, how do you select one displayed result and then use it for editing? how to dynamuically point the mouse at a result and then edit it through a form which is on another page called "Edit Details"

0
103
Member Avatar for Phil++

Hey, I'm creating a usersystem that has a profile system. I'm stuck on a problem. I want the profile to be viewed by a url like: [url]www.mysite.com/member/phillip/[/url] So every time someone registers it automatically creates this folder. The problem that I'm having is that I need to place an 'index.php' …

Member Avatar for OS_dev
0
131

The End.