39,320 Topics

Member Avatar for
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
236
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
46
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
64
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
78
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
79
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
63
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
586
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
134
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
170
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
102
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
204
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
93
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
220
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
109
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
158
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
153
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
114
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
157
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
31
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
119
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
159
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
113
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
95
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
129
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
146
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
125
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
45

The End.