39,393 Topics

Member Avatar for
Member Avatar for MxDev

Hi guys, how to add news columns in my site which could changed dynamically?? Any help appreciated. Thanks

Member Avatar for webexpertzhere
0
79
Member Avatar for Bhoot

I am working on an assignment to host a website. I am using LAMP architecture for that. What I am confused at this point is to where to store my website folder(s). What I thought was to put it in /srv/www/ : /srv/www/MyWebsite. But then I was advised that I …

Member Avatar for JRM
0
104
Member Avatar for Mouse1989

I have a login script in an iframe and after you've successfully logged in, it brings up the index page of the member [code]header("location: member-index.php;[/code] On my main page (_parent) I have an AJAX include with the ID of 'regBox'. How would I cross the iframe and make the 'member-index.php' …

Member Avatar for Mouse1989
0
182
Member Avatar for Liles13

[CODE]Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/content/l/i/l/liles13/html/main/libraries/joomla/database/database/mysql.php on line 344[/CODE] Im trying to get a new portfolio site up and running, and I'm very new to PHP. I've read various topics about queries and dropping tables, but I still can't resolve the issue. [CODE]<?php …

Member Avatar for JRM
0
258
Member Avatar for newtojsp

Hello, How can I run a PHP file in Tomcat server? I know it works fine in Apache. Please help Thanks

Member Avatar for Ezzaral
0
65
Member Avatar for biebel

HI, i'am an newbie and have following question I have two tables 1. repair_details with fields partnumber, quantity, Pn_id 2. Parts with fields Pn_id, price, partnumber.... I would like to fill in repair_details the Pn_id automaticly after I input the partnumber and quantity. Any suggestions? thanks

Member Avatar for biebel
0
98
Member Avatar for falconga

Hello everyone, Confused with the title of the thread? Well, I guess that`s because my brain is completly fried from trying to find the correct way to do something that seems impossible without your help. Here is the story, I have 8 questions, each containing 5 answers. I have a …

0
93
Member Avatar for ym_chaitu

Hai i am building a site for validation of the RSS feeds and adding it in the database. When a user enters a rss web address i need to validate the address and if it contains a rss then i need to enter it into the site or else i …

Member Avatar for Canaan_moore
0
75K
Member Avatar for preetg

hello dr.......... i m trying to store a text file into database below format of text file i hv text file like this: 0100102001110271 0409141151I1476201 0100102001110125 0409141351O1476301 0100101300000030 0409141630O1476401 0100102001110271 0409141631O1476501 0100102001110126 0409141632O1476601 how can store it into my database table att0310 my table fileds: cardno date time IO(in-out) and …

Member Avatar for urtrivedi
0
173
Member Avatar for veledrom

Hi guys, I opened this threat in here because unfortunately our Linux forum hasn't been supported well. I am sorry for the inconvenience caused by me. Problem: I cannot download a file (index.php) from a particular folder (/var/www/teams/team1) via Filezilla. I am sure that it is related to the permissions. …

0
54
Member Avatar for colweb

Have written a simple PHP program to get data from a database to an accounting program. Therefore I need to do some calculations. And one of them goes completely wrong. [CODE]<?php $prijs = 480.00; $nvh = 432.00; $prov = 40.34; $btw = 7.66; $over = $prijs - ($nvh + $prov …

Member Avatar for colweb
0
133
Member Avatar for kuteinheart

Hi ppl, I have a mail function as follows: [CODE]mail($mail_to,$mail_sub,$mail_mesg,$headers);[/CODE] Now, for $mail_mesg i want the message to be in html format as follows: [CODE]$mail_mesg="You have received a message from ur boss... <a href=Login.php>Click here to view it.... </a>"[/CODE] But this is not working... the code b/w <a> </a> is …

Member Avatar for liamfriel
0
85
Member Avatar for nathan2oo3

Hey, just signed up to this forum so first of all would like to say Hi . I am currently working on a review website building from code I had written previously. The problem I am having is with my login script. I Have three pages set out index.html, login.html …

Member Avatar for nathan2oo3
0
99
Member Avatar for fuggles

For some reason the post is not getting inserted into my database. [code=PHP] if($_SESSION['permissions']>=1) { $query="INSERT INTO news (id, title, poster, posterid, body) VALUES ('$id','$title','$poster','$posterid','$body')"; $result=mysql_query($query,$con); header("location:index.php"); } [/code]

Member Avatar for liamfriel
0
87
Member Avatar for letlet_pogs

Hello good day. I just want to ask those who know how to save values without submitting yet to database. I am trying to save it, but it wont work out. What i want is that, I am filling up a form, then I will go to the next page, …

Member Avatar for liamfriel
0
78
Member Avatar for kiranbvsn

i got 2 html pages with the following data index.php (buttons: SAVE, EDIT) update.php (buttons: UPDATE,DELETE) Employee ID (primary key), Employee Name (here i putting 2 buttons Edit,Save) when i entered the empid and click the Edit button, the page has to go from index.php to update.php and at the …

Member Avatar for kiranbvsn
0
116
Member Avatar for muralibobby2015

hello..... i am fetching text from database. i want to restrict 400 characters from that after "readmore". it redirects to total page. i was used substring but i want to total validate what means after 400 characters there is '.' is there then not appear '.........'like this. otherwise appear after …

Member Avatar for pushpakalpana
0
138
Member Avatar for sai.sriparasa

Hello I need to pass an array of client side events to the next page. Here my user would perform a few events which would be stored in a javascript array, upon completion a submit button would be used to post all that data to the next page. An example …

Member Avatar for jino
0
184
Member Avatar for missMira

hi....can i ask something? i need to set a default password for a sign up form... so when new user sign up, they will get a default password and for the first time they log in, they will received a prompt or a msessage asking them to change their password. …

Member Avatar for missMira
0
121
Member Avatar for alla87

Hi all, Im relatively new to PHP, and i have come across a brick wall. What im trying to do is pass two variables $factid and $pathid to another PHP page and from there insert them into SQL Table. The only problem is that the $pathid is inside a while …

Member Avatar for cwarn23
0
3K
Member Avatar for alla87

What im trying to do is this. I have created a fact repository frame which holds facts for the use to look for. The user looks for facts through a search text field in which they submit. The search variable brings up on the page anything which matches the search …

Member Avatar for pbcomput
0
217
Member Avatar for kuteinheart

Hey ppl, I am using wampserver for my Website development... Now, I want to send mail to a particular user from mysql table... when i use the mail function for PHP code [CODE]mail($mail_to,$mail_sub,$mail_mesg,$headers)[/CODE] I am getting the error as follows [CODE]Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" …

Member Avatar for kuteinheart
0
346
Member Avatar for xuexue

hi there, i have a webpage which is divided into three frames, left frame, main frame and the bottom frame. all the buttons are in the left frame, hence, once a button is clicked, the data will be displayed in the bottom frame, now my problem is that, how could …

Member Avatar for kvprajapati
0
109
Member Avatar for SMHouston

Hi all. I'm having an issue that I CAN NOT figure out for the life of me. The program is to get user input about there paycheck , then calculate the answer. What my problem is I can not get the php part to print anything inside the <?php?> tags. …

Member Avatar for JRM
0
195
Member Avatar for whitestream6

This is my code, which displays either an image, or message depending on the time: [CODE]<?php $b = time(); $hour = date("g",$b); $m = date ("A", $b); if ($m == "AM") { if ($hour == 12) { echo "Good Evening!"; } elseif ($hour < 4) { echo "Good Evening!"; } …

Member Avatar for JRM
0
144
Member Avatar for SuntechWebsites

Ok..I have a database with clients and their information. They can login using their own assigned username and password. I am looking for a way I can access/edit their info from my admin side without having to enter individual user info to access them. On another note I am looking …

Member Avatar for JRM
0
107
Member Avatar for bahman2216

Dear all. how can I put my output array into file exactly as it appear below: [CODE]Array ( [0] => Array ( [0] => a [1] => b ) [1] => Array ( [0] => c [1] => d ) [2] => Array ( [0] => e ) ) [/CODE]

Member Avatar for Wraithmanilian
0
83
Member Avatar for newcountry
Member Avatar for diafol
-1
73
Member Avatar for Zagga

Hi again folks. I have a PHP member registration script that collects registration details from the user, encodes the password (with RIJNDAEL_256) and emails the user a URL containing all the variables so I can verify the email address is correct. The user clicks on the URL, the correct page …

Member Avatar for Zagga
1
169
Member Avatar for codeblock

Hello everyone, I have a problem with my drop down list box on my edit page in php. I would like my drop down list box to show what the user has selected, then if the user wishes to, change their selection updating the DB(mysql) at the same time. I …

Member Avatar for Wraithmanilian
0
242

The End.