39,320 Topics

Member Avatar for
Member Avatar for PF2G

Someone can tell me what's wrong with this codes? It doesn't appear the box with errors: envia.php [CODE]<!--BEGIN box correcao--> <style type="text/css"> /* Box Style */ .success, .warning, .errormsgbox, .validation { border: 1px solid; margin: 0 auto; padding:10px 5px 10px 50px; background-repeat: no-repeat; background-position: 10px center; font-weight:bold; width:450px; } .success …

Member Avatar for pzuurveen
0
152
Member Avatar for jdgieschen

It's the age-old question of checkboxes. I've got this code: [CODE] <?php require "connect_to_mysql.php"; // Start the SQL string $sql = "SELECT * FROM post_sec_all_stats WHERE 1=1"; if (isset($_POST ['dura_sch'])) { $sql .= " AND "; $sql .= "DURA_SCH = '" .$_POST ['dura_sch']. "'"; } if (isset($_POST['ctrl_sch'])) { $sql .= …

Member Avatar for pzuurveen
0
1K
Member Avatar for newbie14

Dear All, I have a problem where I can query more then 4000 lines the problem I already drill down is here. The problem is during the generation of the lines some how it takes some time then I get a not found page error. What can I do to …

Member Avatar for broj1
0
4K
Member Avatar for eman neercs

I have a php/mysql/html table of results The query is [CODE]$result = mysql_query(' Select var1, sum(var2) round(Avg(var3),0) round(Min(Price),2), round(Max(Price),2), round(Avg(Price),2) as AvgPrice, Country, From table Where country = "Australia" Group By var1 having var3 > 5 Order By var3 DESC') or die("SELECT Error: ".mysql_error()); $num_rows = mysql_num_rows($result); print "<table width=800 …

Member Avatar for diafol
0
94
Member Avatar for geneh23

Hey everyone, So this is sort of complicated but I will try to make things as clear as possible. I have a registration page that processes all of the information and sends an automated email to the user with their username and password and a link to activate the account …

Member Avatar for geneh23
0
163
Member Avatar for accra

[ICODE]I have a script that checks usernames and passwords and it works fine when i put in a username and password ,but when the form is empty and i submit it ,it still login the person. I made some changes to the script,its still not working.Any help. [/ICODE] [CODE]<? session_start(); …

Member Avatar for diafol
0
148
Member Avatar for riahc3

Hey How do I make Apache Tomcat allow to interpret PHP as well? Allowing something like: [code] protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { response.setContentType("text/html"); PrintWriter out = response.getWriter(); out.println("<html><head><meta http-equiv='pragma' content='no-cache' /><title>Hello</title></head><body>"); out.println("<?php echo 'Hello'; ?>"); out.println("</body></html>"); out.flush(); out.close(); } [/code] Thanks!

Member Avatar for riahc3
0
145
Member Avatar for concrete

How can I add a table around my code. I am new to php and I am woring on an assignment for Uni. When I try to add the table tags the layout gets messed up. Can some please help? [CODE]<form action="gradebook3.php" method="post"> <H4>Exam and Coursework Marks and Comments for …

Member Avatar for diafol
0
83
Member Avatar for issaru07

i having problem doing a echo with <img> , the image do not seems to able to display although there is not error message. please advice... thanks for your help. [CODE] $pic = $row["img"]; echo "$count.)&nbsp; $title, &nbsp;$price" ; echo '<img src="site_images/$pic" border=0>'; [/CODE]

Member Avatar for pzuurveen
0
277
Member Avatar for Arjun_Sarankulu

I have main page as contain the frameset In that there are three frame 1)html page as 1.html 2)which shows the chart data as chartdata.php 3)the combox box with submit button click.php I want the combox box selected value in chartdata.php Can anyone say how can i achieve the same. …

Member Avatar for pzuurveen
0
88
Member Avatar for polinolin

good night friends. I've made a voting system for the purposes of my campus. I want to implement RSA encryption and description to data security. I want to ask how to make input into SQL diinsert encrypted when one candidate is clicked? anyone help me please.. this the pict the …

Member Avatar for pzuurveen
0
64
Member Avatar for crazyitalian

Hi everyone and thanks in advance for and help you can give me. I am working on my "forgot password page" forgot.php. I am trying to query the database and and get a return of 0 or 1 then echo the appropriate response. this is the code I am using …

Member Avatar for crazyitalian
0
136
Member Avatar for jdgieschen

Hopefully I don't have to put all my code in. I have 3 separate pages of php set up. I want a user to be able to go to my website and search a bunch of criteria to find a good school for himself. There are checkboxes, radio buttons, text …

Member Avatar for jdgieschen
0
268
Member Avatar for vibhas

hello friends i wanted to use auto populate text box based on another select box using jquery ajax and wanted to pass values of both the check boxes to a php form and insert in db my code id : [B]index.php[/B] [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html …

Member Avatar for pzuurveen
0
151
Member Avatar for HasNor

Hi all, i've a problem for getting the other attribute from active directory. What i've to do if i want to get the 'email' and 'employee ID'? Actually i've done for getting the username and password. But don't know how to get the other. Please help me...

Member Avatar for jaspal.indivar
0
108
Member Avatar for trivikrama

Hi all, I am web developer in an organization. I started my career as a PHP developer, I was working on Wordpress. Now I want to learn new things in PHP other than wordpress. Please suggest me what should I do for better career opportunities. Thanks, Trivikram.

Member Avatar for pritaeas
0
163
Member Avatar for wetube

Hello everyone, I have a problem with this code php: [CODE]<?php $sql = mysql_query("select * from news left join categories on news.category_id = categories.id group by category order by categories.id "); while($row=mysql_fetch_array($sql)){ ?>[/CODE] html: [CODE]<div class="title" align="center"> <?=$row['category']?> </div> <div class="headlines"> <span style="float:left;"><?=$row['subject']?></span> <span style="float:right;"> <?=$row['date']?> </span> </div>[/CODE] the problem …

Member Avatar for pritaeas
0
81
Member Avatar for RazorRamon

I began doing some research on Paypal API code yesterday and have been lookin through a lot of the examples on the web. A lot of the examples i'm seeing seem to be heavily OOP. Ive never really tried any object oriented type of code I mainly do procedural. Can …

Member Avatar for pritaeas
0
67
Member Avatar for subrata_ushasi

Hi, I am developing an website in wampserver which was working fine but when I installed Oracle 9i ,Oracle working but wamp server sopped .I edited the httpd.conf as follows : chaged port no "Listen 80" to "#Listen 12.34.56.78:8080 Listen 8080" and restarted wamp server but didn't work then I …

Member Avatar for cereal
0
67
Member Avatar for Egnited

I am developing a [mobile] website that needs to allow visitors to send both an [B]image[/B] (which is on my server) and a custom [B]message[/B] to a friend's email using a PHP form. I have to keep it mobile-compatible, so I can't use java, etc. Here is my form so …

Member Avatar for sanks.sanks
0
1K
Member Avatar for tarunfuture

Hello Friends How can i update the textbox values with new values when i have already values in textbox in php

Member Avatar for tarunfuture
0
148
Member Avatar for JukesK

bit of a coding dilemma here.. If i have a php page (list.php) that works on its own when browsed to or put in Iframe, why would it not work correctly when the contents are either <?php include("list.php") or the code put directly into the index.php page The iframe version …

Member Avatar for JukesK
0
151
Member Avatar for vijayram

Hi everybody , My project having 7 modules.personal,Mypics(album),layer.... i have some problem in upload photo in layer.i need inside the layer,layername and layerphoto.the following code for display name.name is ok. editlayer.php <div class="field"> <span class="field-label">Name:</span> <input id="layer_name", src=" " type="text" name="layer[name]" value="<?php echo $layer["name"] ?>"> <span id="layer_name_error" class="field-error"><?php if (isset($error["name"])) …

0
60
Member Avatar for azlanaziz

Hi i'm unable to do multiple update (using Ms Acess because of restrictions). I try to do through ADO method (also because of restriction , x ODBC). The operation will break when reaching the script to update on the second page. Can you guys point where did i went wrong? …

Member Avatar for azlanaziz
0
260
Member Avatar for asif49

Hi, I am reading from an XML file where the structure of the file is like this: [CODE] <item> <title>This is a title</title> <description>Description.</description> <link>Link</link> <media:content width="60" height="50" url="http://www.someurl.com"/> <media:content width="150" height="80" url="http://www.someurl.com"/> </item> <item> <title>This is a title</title> <description>Description.</description> <link>Link</link> <media:content width="60" height="50" url="http://www.someurl.com"/> </item> [/CODE] I am attempting …

Member Avatar for asif49
0
154
Member Avatar for wetube

hello guys, please give me any idea about solving this problem. I have two tables categories: id .... category .... parent ________________________________ 1 .... general .... 0 2 .... news .... 0 news: id .... headline .... category_id ________________________________ 1 .... headline1 .... 1 2 .... headline2 .... 2 3 …

Member Avatar for diafol
0
114
Member Avatar for gamebits

Sometimes ago with the help of some programmers I wrote a piece of code to parse result from ebay's website, title, item number, bids, price sold and date. This is the regex that used to work to get the title of an auction that ended with a sale. [CODE]$match_count1 = …

0
91
Member Avatar for paulhook

This is a code snippet for the page i am getting the variable $title from [CODE]$title = $this->row->title; // at this point in the script if i echo $title the correct value is stored. ?> <form name="passvalue" action="myscript.php" method="POST"> <input type="hidden" name="title" value="<?php echo $title;?>"> </form>[/CODE] This is a code …

Member Avatar for paulhook
0
133
Member Avatar for rvk.kasi

Hi, i need a jewellery management system web application in php. can anyone help me please reply in this thread.. Eagerly waiting for your replies..

Member Avatar for Ezzaral
0
121
Member Avatar for jacob21

I m using substr in while loop. Using substr I am getting strike in Text; If I omit substr then I get perfect result. I have to substr function; Is there any another alternate function. [CODE] if($countrecords>=0) { while($row1=mysql_fetch_array($result1)) { ?> <div style="border-top:1px dashed #cccccc; padding-top:10px;"> <div style="font:bold 11px verdana; …

Member Avatar for wetube
0
1K

The End.