39,402 Topics

Member Avatar for
Member Avatar for hxmelvin

Please HELP!!! computing the overdue in library system. using the time.This is the scenario. If library user borrow a book and take it out to the library. then He will bi given 24 hours to return the book. If the library user didnt return the in exactly time he will …

Member Avatar for Ezzaral
-1
99
Member Avatar for ditty

Hi I am using curl function for getting data from another website. But when i use curl_exec($curl) it shows 'bool(false)' . why it happend so? Please help me..Thank you

Member Avatar for NightLight
0
98
Member Avatar for Warl30ck

Ok, Hi I need help.I making a project and need to find the end of file line of a file.I researched [CODE]file_get_contents[/CODE] of a certain file and it worked but it did not register anything. And then found [CODE]feof[/CODE] and used this: [CODE]<?php while (!feof($f)){} ?>[/CODE] And it registers the …

Member Avatar for NightLight
0
133
Member Avatar for clbembry

Please forgive me, but what I'm going to ask is going to sound terribly stupid, but that's because I'm terribly confused :P I've been reading up on PHP websockets as of lately and I no longer want to run the server locally. So when I upload the server.php file to …

Member Avatar for clbembry
0
64
Member Avatar for phil_evans_csl

HI, I have created a cascading dropdown using PHP/mySQL/Ajax, that pulls data for two select boxes and populates a third based on the previous. This all works perfectly, but anyone know a way to check when this new dropdown changes without adding a onchange or simular to the select at …

Member Avatar for thejimgaudet
0
86
Member Avatar for adrianfigallo

hello guys, i'm pretty new to php and to this forum, but i need a little bit of help and i hope i can find it here :). I need a wordpress page to create dynamic links, using the url and the wordpress database (or a new database¿?) to grab …

Member Avatar for Dan Koralek
0
124
Member Avatar for TheSassyDragon

This is the code at line 23: [CODE] foreach($form->getErrorArray() as $m){ $x .= "".$m." + "; header("Location: Form_Display.php?message=".$x."") [/CODE] Gives me two error messages 1. Passwords don't match 2. Email not entered I've banged my head out, smoked a carton of cigarettes and had a quiet meditation session after raging. …

Member Avatar for joeyxaza
0
241
Member Avatar for abhi10kumar

I have index page having contact form, I want to send contact form's detail into an email. How I can send email without refresh the page.

Member Avatar for joeyxaza
0
57
Member Avatar for jacob21

Hello this is my code, echo "<td>" . $row['subject'] .Posted.on. $row['date'] . "</td>"; output is: Area Sales Manager - FMCG (3+ yrs)Postedon2011-03-05 what i want to do 1)Area Sales Manager - FMCG (3+ yrs)Posted on 2011-03-05 i need spaces b/w posted,on,& date 2)how to male a link of [B]Area Sales …

Member Avatar for jacob21
0
66
Member Avatar for it911

Hi I am wanting to make a chatroom website but must be able to work in a browser and cellphone Please can anyone help me Thank you

0
81
Member Avatar for wd3bbas

Hi How can i send message from my site By another mail server with the knowledge that I do not have mail server

0
81
Member Avatar for rajandass65

hi, i have a table which have code col and data col.the code and data occur repeated no of time. so i run query like SELECT code, COUNT( code ) AS no_of_times FROM testing_table GROUP BY code ORDER BY code which give no of time code is repeated in the …

Member Avatar for smantscheff
0
67
Member Avatar for Macko888

Hey, I was wondering if anybody out there is using Aptana Studio 3, For the last 3 months i have changed from dreamweaver to aptana and have had no regrets. I found that dreamweaver has alot of blah blah on their interface... What are your thoughts? and any other great …

Member Avatar for Macko888
0
590
Member Avatar for jacob21

Hello, How to use date function in my sql for current date. Table description: jid desc cname category date(posting date) 1 kpo job ab kpo 7/3/2011 2 lpo job bc lpo 8/3/2011 3 bpo job df bpo 9/3/2011 What i want to do, when i fetch data from the table …

Member Avatar for swpou
0
135
Member Avatar for damastr

Hi, this is probably a pretty simple question for you pro's but would appreciate some help as I have ogtten stuck. I have a html form [CODE]<html> <body> <form action="com.php" method="post"> Firstname: <input type="text" name="firstname" /> Lastname: <input type="text" name="lastname" /> Age: <input type="text" name="age" /> <input type="submit" /> </form> …

Member Avatar for scaiferw
0
173
Member Avatar for phpDave

Hi, I've been trying to SELECT from 3 tables but not sure how. Here is the code for selecting from 2 tables [CODE]$query_Recordset3 = sprintf("SELECT * FROM mystuff.users JOIN mystuff.contact USING(user_id) WHERE contact.rec_id = '$id'", GetSQLValueString($colname_Recordset3, "text")); $Recordset3 = mysql_query($query_Recordset3, $connAdmin) or die(mysql_error()); $row_Recordset3 = mysql_fetch_assoc($Recordset3); $totalRows_Recordset3 = mysql_num_rows($Recordset3);[/CODE] Any …

Member Avatar for diafol
0
105
Member Avatar for tomjrjones

hi, i have a current working registration page, (the code is below), how do i make it so when they click register it checks to see if its a valid email address, if u cannot help me can u give me a link to a website. this registration form creates …

Member Avatar for tomjrjones
0
214
Member Avatar for raghujosh

Is it possible to read array variables one by one in a numeric array in PHP? I have an array that I need to read each element and depending on the element, do something else. But I am finding that there are no functions to read each element of a …

Member Avatar for diafol
0
96
Member Avatar for gazzy1

i want to create a timer for my php page i created the page that only 20 second i want that the time should be as 00:00:20 (hh:mm:ss) plz help my scipt are.......................................................................................................... [code]<tr> <!-- countdown script --> <td style="text-align:left;font-size:10pt;font-family:Verdana, Arial;">Time Left: <input type="text" name="seconds" size="3"> <script language="javascript" type="text/javascript"> var …

Member Avatar for Luckychap
0
2K
Member Avatar for rkayd

This probably doesn't belong on this forum but I'm not sure where to ask this as I don't know what programming language this should go under. There doesn't seem to be a general forum here. I'm still working on the site that I've been asking questions about. I've got sql …

Member Avatar for diafol
0
223
Member Avatar for igor221189

Hello, Would it be possible to add text to textboxes with the click of button? The page contains three dropdowns (category, sub category, items). First, user selects a category in the dropdown. In the second dropdown, all items that are held in that category are displayed. In the third dropdown, …

Member Avatar for igor221189
0
112
Member Avatar for gazzy1

i want to create a login page with different user i have a table users with column UseriD and Password field in user |d and pass field there are many users like user01 user02 user03 i want that when user01 logged in then page redirect to [url]http://yahoo.com[/url] and when user02 …

Member Avatar for amie900218
0
161
Member Avatar for andrewliu

Hello I'm learning regexp and I'm trying to get contents in a div tag. [CODE]<div class='name'> <div class='contents'> contents </div> </div>[/CODE] my regexp is something like this [CODE] preg_match_all("/\<div class=\"name\"\>(.*?)\<\/div\>/is", $res, $matches ); foreach($matches[0] as $value) { echo $value; }[/CODE] I want to get everything in the div class='name' but …

Member Avatar for andrewliu
0
9K
Member Avatar for Silent-Regret

First off, I'm sorry if this is the wrong section, I've been visiting this site off and on for awhile now, but today is my first day joining. Second, I was wondering if there is a way to... auto load, I guess you could say, data from a mssql database, …

Member Avatar for Silent-Regret
0
155
Member Avatar for romy_fb

hi i wanaa ask what is $_SESSION['views']=1; mean ??? i think its like array but i don't know and what is "views" is it index ? can i change it ? if it is index why in each page i just write views i mean why i didn't change the …

Member Avatar for kekkaishi
0
117
Member Avatar for gunnarflax

Since no one answered to my previous thread about a similar issue I rephrase the problem and try my luck again :) I have rather recently started working with prepared MySQLi-statements in php. From what I've learned is it supposed to be much more effective and secure so I've tried …

0
159
Member Avatar for xxreenaxx1

I am stuck on inserting the data into mysql via php. Its a foreach method and I am just stuck [CODE=php]include '../Database/take_an_exam.php'; $intNum = 1; $intnumber = 1; while( $info = mysql_fetch_array( $sqll )){ echo "<input type='hidden' name=\"Que_ID\" value=\"{$info['Que_ID']}\" /> "; echo " $intNum, {$info['Que_Question']} <br />\n"; $intNum++; for ($i …

Member Avatar for petr.pavel
0
3K
Member Avatar for jacob21

Hi, I am working on data feed.please tell me how can i implement that. Thanks

Member Avatar for pritaeas
0
33
Member Avatar for professor123

i am in the process of developing an online exam that is on a website[COLOR="Red"](which only has these links--[U]HOME, DOWNLOADS, E-LEARNING, ONLINE-EXAM, FORUM[/U])[/COLOR], now l am doing my system design and analysis stage. for my context diagram it only [COLOR="Red"][U][B]seems to me[/B][/U][/COLOR] as if it only includes the online exam …

Member Avatar for Stefano Mtangoo
0
123
Member Avatar for gazzy1

i want to create a timer for my php page i created the page that only 20 second i want that the time should be as 00:00:20 (hh:mm:ss) plz help my scipt are.......................................................................................................... <tr> <!-- countdown script --> <td style="text-align:left;font-size:10pt;font-family:Verdana, Arial;">Time Left: <input type="text" name="seconds" size="3"> <script language="javascript" type="text/javascript"> var …

Member Avatar for peter_budo
0
162
Member Avatar for gazzy1

i want to create a timer for my php page i created the page that only 20 second i want that the time should be as 00:00:20 (hh:mm:ss) plz help my scipt are.......................................................................................................... <tr> <!-- countdown script --> <td style="text-align:left;font-size:10pt;font-family:Verdana, Arial;">Time Left: <input type="text" name="seconds" size="3"> <script language="javascript" type="text/javascript"> var …

Member Avatar for peter_budo
0
116
Member Avatar for atfOnly

Dear All, I'm going to put some submenus into tabs and put its contents there. i want to fetch the name of the tab (menu) from the database. for this case, i must use looping 'while'. for example [CODE]<body> <?php $query=mysql_query("SELECT * FROM modul WHERE ket='submenu_mahasiswa'"); $result=mysql_fetch_array($query); ?> <div id="tabs"> …

Member Avatar for smantscheff
0
99
Member Avatar for karthik_ppts

Hi All, How to read data from server using php? Actually i'm connecting an external device to my system. That device send some data to server via GPRS. But i dont know how to get/see that data from server? Please Help Me.

Member Avatar for karthik_ppts
0
132
Member Avatar for sickpuppy18

Hello people i have a script that will show the days between two dates.Now my problem is The dates are stored in MS Access as text and when I compute it here in my script it always give the wrong value I really appreciate any help i can get also …

Member Avatar for priyadarshi206
0
148
Member Avatar for newbie14

Dear All, I am using urlencode for me to send data via get method. The problem I have used it in two places in my code. The problem I notice I get different values one is cN=BASF+Petronas&tN=Defensive+driving+training and another is %3FaCID%3D20%26aTID%3D1%26cN%3DBASF+Petronas%26tN%3DDefensive+driving+training. The problem when I tried to do $cN=$_GET['cN']; and …

Member Avatar for newbie14
0
129
Member Avatar for bonucci

hi there guys, i have right a email form, and it works very well, but im having some trouble whit something, how can i make it possible to have a attachement file whit him, take a look of my code please: [CODE] <?php $nome=$_POST["nome"]; $morada=$_POST["morada"]; $CodPostal1=$_POST["CodPostal1"]; $CodPostal2=$_POST["CodPostal2"]; $localidade=$_POST["localidade"]; $telefone=$_POST["telefone"]; $email=$_POST["email"]; …

0
46
Member Avatar for Transcendent
Member Avatar for mark4013
0
266
Member Avatar for Giggaman

Fairly new to php but know enough to be dangerous. I'm really stumped on this: I have stat numbers already in database linked with an id and also created an add stats page. So when a user is on the add stats page they enter the specific id & new …

Member Avatar for Giggaman
0
168
Member Avatar for jacob21

Hi, I am uploading a file(text,doc) in php.its working fine. I want to send this uploaded file as attached file to admin.my mail function is working fine.but i don,t know how to attach that uploaded file. need help. Thanks

Member Avatar for makman99
0
124
Member Avatar for Sahilsahni

hi, i want to make a functionality, in which a code will get sent to mobile number while registration, to complete the registration process. problem is, i don't know how to do it, please please, if anyone can help me, i would be a great help , thank you.

Member Avatar for smantscheff
0
122
Member Avatar for gunnarflax

Hi! I have a problem with binding parameters dynamically in my mysqli_stmt objects. As I don't know how many parameters which will be put into this function I must bind the parameters dynamically. Though I cannot understand what's wrong with this method: [CODE] public function execute($unprp_stmt, $data){ //Prepare the stmt …

Member Avatar for gunnarflax
0
427
Member Avatar for maxelcat

Hi Am trying to get email sending right from a form - am getting mighty confused! the form has a field where the user enters their email. I then want this form to goto these addresses: users email - called $email below conferences@domainOne admin@domainTwo Here's my php: [CODE] $email = …

Member Avatar for itisnot_me
0
129
Member Avatar for andrewliu

Hello, I'm trying to create a search engine for my databse. I be able to select multiple tables [CODE]$sql = mysql_query("SELECT * FROM table1, table2, table3 WHERE ...");[/CODE] I was wondering if this even works? If it does, how do I get rows from different tables? [CODE]while($row = mysql_fetch_array($sql)){ $fromtable1 …

Member Avatar for andrewliu
0
227
Member Avatar for itisnot_me

ok so i believe that i should know this but i have not really dove into dates with php. Ok so what i am trying to do is find the latest date between 2 dates. And if the dates are the same then find the latest time then echo out …

Member Avatar for itisnot_me
0
146
Member Avatar for sha11e

I just re-installed XAMPP and I'm getting an error that I've never gotten before. Notice: Undefined index: username in C:\xampp\htdocs\acc_terminator\unicode.php on line 3 Notice: Undefined index: password in C:\xampp\htdocs\acc_terminator\unicode.php on line 4 Notice: Undefined index: account_level in C:\xampp\htdocs\acc_terminator\unicode.php on line 5 Those lines are: $xusername = $_SESSION['username']; $xpassword = $_SESSION['password']; …

Member Avatar for diafol
0
131
Member Avatar for gazzy1

i want to create a timer for my php page i created the page that only 20 second i want that the time should be as 00:00:20 (hh:mm:ss) plz help my scipt are.......................................................................................................... <tr> <!-- countdown script --> <td style="text-align:left;font-size:10pt;font-family:Verdana, Arial;">Time Left: <input type="text" name="seconds" size="3"> <script language="javascript" type="text/javascript"> var …

Member Avatar for tiggsy
-1
172
Member Avatar for irphan

Hi, this is irphan . i am creating social networking site and need a friend system like facebook] . i don't have any idea aout this .can anyone help me?kindly tell me how many tables would require to manage friend system and how can i manage them. i am working …

Member Avatar for irphan
0
301
Member Avatar for galz1452

<?php require("verification.php"); require("connect.php"); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title></title> <link href="style.css" rel="stylesheet" type="text/css" /> <style type="text/css"> .style4 { font-size: 24px; color: #fe5800; font-weight: bold; } #apDiv1 { position:absolute; left:267px; top:352px; width:118px; height:79px; z-index:1; } .style10 {font-size: 12px; font-weight: …

Member Avatar for diafol
0
289
Member Avatar for patharianidhi

Hi I would be really thankful if someone could please help me with this: I have a file upload script that uploads csv files to the web server. After the file upload another script called extraction.php starts which reads the contents of the file and puts them to the respective …

Member Avatar for diafol
0
100
Member Avatar for vizz

How to count number of rows from database after every 2 seconds without refreshing page " [COLOR="Red"]id sender receiver message[/COLOR] " these are database fields I want to count and display number of message received after every 2 seconds, like OUTPUT:- " [COLOR="red"]Messages (1)[/COLOR] "

Member Avatar for ndeniche
0
80

The End.