39,320 Topics

Member Avatar for
Member Avatar for rajeevkshr

Hi all, How Can i call a paricular function in PHP From HTML through href.Anybody can help me for solving this....... Rajeev

Member Avatar for rajeevkshr
0
203
Member Avatar for mahe4us

Hi all, I have obtain an error while making thumbnail images from the uploaded images. The error displays like as below [B]Fatal error: Allowed memory size of 16777216 bytes exhausted [/B] Actually the size of uploaded image is 208kb.. but it displayed the above error with memory size of neary …

Member Avatar for sokchea
0
93
Member Avatar for assgar

Hi I need help. I know what I want to accomplish, but I do not know how to do it. The events are recurring every month, but not recurring at the same time or on the same day of the week. WHAT I NEED HELP ACCOMPLISHING: How to do I …

Member Avatar for assgar
0
94
Member Avatar for rickarro

Good Morning, I have a script that is working just fine as it stands, thanks to ya'll :) I wanted to make a change to it but am having trouble making this change work. The scripts says to "select * from my databases", using "Where" three data inputs. This tells …

Member Avatar for rickarro
0
210
Member Avatar for smilyswapna10

hi, i am facing the problem with reuglar expressions. my requirement is if type the word like `$var` in a input field and select the EXACT WORD radio button and i click the search button then i want to display all files with the word `$var` all in my directory. …

Member Avatar for iamthwee
0
86
Member Avatar for rickarro

Hey All, I have a form that i want to be able to change the look of, it displays within an HTML page and is basically a rectangle with my input fields in it. I'm using a [code]<form action="fromform.php" method="post">[/code] type form. What i want is to be able to …

Member Avatar for rickarro
0
140
Member Avatar for kudzugazette

I have been using PHP sparsely on my website for some time now, but I would like to become more efficient and therefore have a couple questions. They will stream in slowly, bu for right now... Currently I use the <?php tag many times on a page. Is there a …

Member Avatar for kudzugazette
0
146
Member Avatar for naju

I have create lots of module for a cms-site .. with functions only. to avoid the collision of the function names ... i have kept module name before the function names. now i need to convert the modules to classes. one module contains lots of files included .. can we …

Member Avatar for naju
0
83
Member Avatar for iamthwee

How do I send an email... I have WAMP (windows xp apache, mysql and php). But what do I do now. Explain...

Member Avatar for iamthwee
0
156
Member Avatar for sanch3za

get the value from derived table in the walikelas table i have field :id_teacher,name,password in the kelas table i have field :id_class, class_name, and id_teacher. $query=("SELECT w.name, k.id_teacher, k.class_name FROM walikelas w, kelas k WHERE w.id_teacher = k.id_teacher"); my question is how we get the value from w.name,k.id_teacher,k.class_name and then …

Member Avatar for Walkere
0
85
Member Avatar for tzan2833

Dear all I have a few questions. I would be grateful if you could take the time to answer. I have installed on windows xp home apache2, php 5 and mysqlserver 5. The [URL="http://localhost"]http://localhost[/URL] page of apache works fine. The <?php echo phpinfo(); ?> page works fine. However when i …

Member Avatar for grandgoodel
0
148
Member Avatar for paranjyoti

Dear All, I am installing Zoomla for the first time in my local machine. When it came to the 4rth Step (Database), i gave the DB details of my database created online, but it couldn't connect to the DB online. Therefore i created a new DB in the localhost and …

Member Avatar for Dukane
0
60
Member Avatar for hooray

I have a search box on my website, that allows users to look for items that have been posted by other users, I am using this code a the moment, but there is a problem with it [code=php] $category=$_GET['cat']; $text=$_GET['text']; $query=mysql_query(" SELECT * FROM event_information WHERE category='" . $category . …

Member Avatar for iamthwee
0
110
Member Avatar for jhize

At risk of sounding like the newbie I am.... I don't know enough about php to do much of anything, yet. BUT! I know exactly what I need (I think). MAybe someone out there has seen something along these lines: It would be a php module that provide a custom …

Member Avatar for jhize
0
99
Member Avatar for nazall

this is the php code for me that gives me error Parse error: syntax error, unexpected T_STRING in C:\xampplite\htdocs\eurofrit\insert_ac.php on line 35 i will be thankfull if someone helps me because for days i can't fix it <?php $host="localhost"; $username=""; $password=""; $db_name="member"; $tbl_name="produktet"; // konoktimi ne server dhe zgjedhja e …

Member Avatar for phper
0
221
Member Avatar for nuBudDy

hi, im trying to view my php page on the browser on iis and i got this error : [COLOR="Red"]call to undefined function mysql_connect().[/COLOR] im not sure why this happened, tried googling but found only solution on apache. any help would be appreciated.thanx

Member Avatar for phper
0
110
Member Avatar for smilyswapna10

Hi, i am using the regular expressions in php. but i am facing some problem in that. i have input type='text' and i have 2 radio buttons one is Any word and second one is Exact word and i have one search button. if i type in text field as(i.e., …

Member Avatar for phper
0
75
Member Avatar for lydia21

hi i am doing something like planner.... based on todays date..i want to display the current week he must be able to enter only on todays date..the previous days in the week should be readonly

Member Avatar for buddylee17
0
98
Member Avatar for Venom Rush

Hi guys I've got a database with a table that stores paragraphs of text. What happens at the moment is that when I pull the text from the database and display it on the page all the line breaks are missing. I'd like to keep the line breaks. I've checked …

Member Avatar for Venom Rush
0
91
Member Avatar for Vai

What I am trying to accomplish is: When a user logs in the username / password is checked against the database. Once that is done, I need it to load a page. I am getting an error using the following code. [code] <?php require_once('core/db.php'); // Check if login form was …

Member Avatar for nav33n
0
141
Member Avatar for Morty222

Can someone tell me why this would cause the following error: Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource <?php $un = $_POST['email']; $pw = $_POST['password']; include("../admin/mysql.php"); $query = "select * from tbl_accounts WHERE $un = email AND $pw = password"; $result = mysql_query($query); $row = mysql_fetch_array($result); …

Member Avatar for Morty222
0
89
Member Avatar for hooray

Ok im not sure wether this counts as a php question or a database question, but ill put it here anyway. I have two fields in a database, one of which holds a foreign key that is a primary key from the other: USER(user_ID, username, password) USER_INFORMATION(user_info_ID, [COLOR="Red"]user_ID[/COLOR], name, DOB, …

Member Avatar for hooray
0
115
Member Avatar for davethedope

Having a bit of trouble figuring out my image upload script. I have modified this a bit, but I am stuck as to how I can get all the links to be output into one space. [code=language]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title><?=$site_name?></title> <style type="text/css"> <!-- …

Member Avatar for davethedope
0
147
Member Avatar for duttydea

Hi everyone!! I have a mysql table of products and i want to group them by the category then each sub category in a table: SQL strng: [CODE] SELECT `Product_Name` , `Product_Description` , `Product_Features` , `Product_picurl` , `Product_price` , `Product_Category` , `Product_subcat` FROM `prod_listing`[/CODE] Like this: Acoustic Treatment Acoustic panels …

Member Avatar for nav33n
0
68
Member Avatar for dani190

hey guys i have this line [CODE]$result=mysql_query($query) or die(mysql_error()); $option=""; while($row=mysql_fetch_array($result)) { $option.="<option value=".$row['firstname; lastname'].">".$row['firstname; lastname']."</option>"; } [/CODE] Now i need to fetch the last name and first names and put them into those option values... hows that done? If i go [CODE]lastname, firstname[/CODE] I get nothing, if i just …

Member Avatar for nav33n
0
134
Member Avatar for duttydea

I am a Newbie To PHP!! I used maestro php myqsl to crate the code below.. I am trying to change the query to include a where statment: "where Product_Category = Acoustic treatment" everytime i edit it i get a syntax Error!! please can you help? Thanks in advance [CODE]<?php …

Member Avatar for nav33n
0
339
Member Avatar for mark2326l

I have stories (some with images) displayed through a repeating region. Data of stories and image paths from MySql. Stories with no image have a blank image frame next to it, but only on MS Explorer. I thought I had this resolved using a variable style. All Mac browsers look …

Member Avatar for mark2326l
0
89
Member Avatar for nathanpacker

Hey everyone, I'm using php to delete a row from a table in a database in mysql, but it's not working. I'm not even trying to do anything fancy, just delete one row. Here's the code: [PHP]<? include 'config.php'; $recordid = $_POST['recordid']; echo $recordid; mysql_query("DELETE FROM employees WHERE recordid='$recordid'") or …

Member Avatar for nav33n
0
4K
Member Avatar for lydia21

i have a login page which checks the user login...this works by fetching the data from the database and it is working.... but when i type the url of the second page it is getting displayed....i want all the user to enter through the first page...please tell me how to …

Member Avatar for nav33n
0
100
Member Avatar for rajeevkshr

Hi All, I am Struggling Some Problems With search Engine(Both Content search and Database search).I completed Codings For this.But its too lenghy.reached 12000 lines For search engine.Can i reduce this Codings? 2)Can you give me some tips for developing webmaster module for job portal? 3)How can i create a sub …

Member Avatar for nav33n
0
97

The End.