39,326 Topics

Member Avatar for
Member Avatar for geneh23

Hey everyone, So I'm starting a new thread because my other thread was solved and I had forgotten it was. Anyway, I am creating a forum stite from scratch as a side project and I have a main forum page that "includes" two tables that get data from three different …

Member Avatar for LastMitch
0
143
Member Avatar for Khav

Greetings, I have two tables named 'copyright' and 'logs'. Table : copyright Field : Copyr_md5 Table : logs Field : md5checksum Problem 1 Say i have a value stored in `$md5check` in php , now i want to check if the value stored in `$md5check` is found in field `Copyr_md5`.If …

Member Avatar for Khav
0
246
Member Avatar for <M/>

I have a table that collects data from web inputs and stores them on an html page... the question how do i style this table... I am not sure how to give it borders, style columns (column 1 is red, 2 is blue, 3 is red, so on), or color …

Member Avatar for LastMitch
0
246
Member Avatar for tonyfonseca

I have the following code to search the stores by name and and order by transaction date by Asc which works perfect. My questions is how to performe a subtraction by row (checkamount-redeposited-replacement-paidcash = balance) and totalize by columns (total checkamount, total redeposited, total replacement, total paidcash and total balance) …

Member Avatar for tonyfonseca
0
298
Member Avatar for NoUserNameHere
Member Avatar for Dino000

Hello. I've been through dozen of tutorials about regex, and obviously still don't understand everything. I'm trying to get data (a whole DIV field and its contents) from another website, and display it on my page. It seems to get everything, but the DIV field. This is what I want: …

Member Avatar for LastMitch
0
292
Member Avatar for jayson.ako

i want to make a crical repot that notifies the admin if the products in inventory is running out lol. need some help :) <?php include ('config.php'); ?> <?php $result=mysql_query("select * from inventory"); $num=mysql_num_rows($result); $qtyleft=['qtyleft']; $name=['name']; if($qtyleft <= 5){ while ($row=mysql_fetch_array($result, MYSQL_ASSOC)){ echo '<span>'.$name.'</span>'; echo "almost out of stock"; }} …

Member Avatar for jayson.ako_1
0
127
Member Avatar for branding4you

I have a page that has to display how many documents the user has given in for him to recieve commission I tried count but it gives me totals, Im new to sql "count" and "group" tabel has three fields: id, user, date, refnum 1 - mike - 2012/01/01 - …

Member Avatar for pritaeas
0
1K
Member Avatar for joshmac

I have a plugins system with update notification. The update notification works, but I made some changes so that the script will execute every hour instead of everytime the page loads. This is handled by the (time() + 3600) being written to a check.cfg file. I wanted to to cut …

Member Avatar for joshmac
0
197
Member Avatar for faisal.niaz

I am very much interested to know how to create the custom maps as we see on the following links. http://www.telegraph.co.uk/news/worldnews/us-election/9657641/US-election-2012-the-electoral-college-explained.html and http://edition.cnn.com/election/2012/ecalculator#?battleground I would like to know what is the best and robust possibility to create such a kind of customized maps that we can use for other purposes …

Member Avatar for LastMitch
0
81
Member Avatar for johnjo

I am trying to update a edit profile in mysql. the first bit of code is when the submit button on forum is hit the data in my table users willl change. the secound bit code get the user info from the database it work fine you can select what …

Member Avatar for LastMitch
0
223
Member Avatar for Eggstraordinary

I'm trying to clear a value in a textbox whenever i click the clear button. But i keep on getting a syntax error expected "=" in the line document.getElementByid. Is my code wrong? <?php function clear(){ document.getElementByid('textinput').value=""; } if (isset($_POST['textinput'])){ echo $_POST['textinput']; } if (isset($_POST['clear'])){ clear(); } ?> <form action="index.php" …

Member Avatar for Eggstraordinary
0
356
Member Avatar for adishardis

Hi, I'm trying to format an array like this: `[['Apr,2012', 5],['May,2012',10],['Jun,2012',20],['Jul,2012', 13]]` from this: while ($row = mysql_fetch_assoc($result)) { $dates[] = date("M,Y", strtotime($row["Datum"])); $data[] = $row["forsta"]; } But I don't know how to combine them in the right format?! Any hints on how to accomplish this? /Adam

Member Avatar for adishardis
0
112
Member Avatar for amith_ami

hi guyz, pls help... what does this warning means??? is there any alternative for implode();? Warning: implode() [function.implode]: Invalid arguments passed in /home/tjconsul/public_html/admin/actions/act_addcandidate1.php on line 40

Member Avatar for adam.adamski.96155
0
2K
Member Avatar for hwoarang69

i spent about 1 to 2 months building a php website on my localhost. i feel like its finish and i would love to put it online for whole world to see it. on this site iam also using xampp database to keep track of user and passwords. note i …

Member Avatar for pritaeas
0
248
Member Avatar for FakeTales

Hey i have three forms on one page , i am getting them to write the data to seperate text files. If i use on form to post the colour it will write the colour to the text file but if i use the form to select which display i …

Member Avatar for neatric
0
335
Member Avatar for PriteshP23

I want to display table by default in ascendind order with dynamically changing header. Here is my code. It is displaying the rows unordered. It should be in ascending at first look and then can change by column. $order = (isset($_GET['sortCostCode']) && strcasecmp($_GET['sortCostCode'], 'desc') == 0) ? 'DESC' : 'ASC'; …

Member Avatar for PriteshP23
0
255
Member Avatar for daniel36

I need to display a large text into starting line of the text and ...............then.please help me.

Member Avatar for Bachu
0
107
Member Avatar for branding4you

Hi I have code I use to look up data from mysql, then dispaly in text boxes. For some reason ALL my data drops the words and spaces Example: if a supplier name is "DyFin (Pty) Ltd" the text box only displayes "DyFin" Example: If My phone numbers are "0860 …

Member Avatar for branding4you
0
219
Member Avatar for amith_ami

hi all, pls help me... im just a beginner in php... there is a problem with my code. when i give one term for searching it works, but when its two shows an error message like this Invalid SQL: SELECT * FROM tbl_candidate WHERE key_skills LIKE '%php%' OR key_skills LIKE …

Member Avatar for amith_ami
0
207
Member Avatar for asif49

The above pattern is supposed to be used as a workaround to avoid form resubmission, I.E If some data is entered into a form on page A, posted to page B and validated + saved on page B. Then if the page is refreshed, the browser will show an error …

Member Avatar for diafol
0
359
Member Avatar for AmieCutie

Below you will find my code, it's not it all in it's entirety, but shows what's important. I have some custom functions that are being used just to note out. What I have my code doing is searching a MySQL table and displaying all of the results based on the …

Member Avatar for diafol
0
172
Member Avatar for graizik

Hello, I found following code on the Internet: <?php class A { protected function __construct() { echo __CLASS__; } public static function getInstance() { $s= new static(); } } class B extends A { protected function __construct() { echo __CLASS__; } } class C extends B { protected function __construct() …

Member Avatar for veedeoo
0
188
Member Avatar for cussel

>hey guys, i want to find duo array 2 D with same value at least 2 > value between $data1 and $data2, and when duo array 2 D founded save in array 3D > then duo array 2 D with same value founded **delete** > from **$data1 and $data2** purpose …

Member Avatar for cussel
0
272
Member Avatar for cguan_77

hi guys, got this code from this previous thread: http://www.daniweb.com/web-deveelopment/javascript-dhtml-ajax/threads/416185/adding-rows-to-table-per-click-manipulating-name-field-thereby the code works fine but how do i modify the code so I will be able to get all the drop down data selected by the user? let's say there were 5 drop downs that were created and selected how …

Member Avatar for cguan_77
0
258
Member Avatar for GlenRogers

Hi all, this is really geting to me now, I jsut keep going round in circles and getting nowhere. I have a form with multiple radio buttons, each button represents a category of reptile. When you choose one of the radio buttons you are taken to a page for that …

Member Avatar for GlenRogers
0
170
Member Avatar for gamebits

I'm using a "simple" script that I downloaded for an image galery, since it was a free script there is no support and although the script works great I need a simple modification so people can edit the information they provided with the picture they uploaded. I manage to add …

Member Avatar for gamebits
0
775
Member Avatar for <M/>

How do I display whatever that gets submitted in a CSV File on an HTML Web Page by pulling it with php... I am kind of lost....?

Member Avatar for LastMitch
0
2K
Member Avatar for vizz

How to set user name for Google+ profile like following, **www.facebook.com/username**

Member Avatar for diafol
0
67
Member Avatar for chanchal.os

how can i pass the value which is situated in a div to php script ?

Member Avatar for diafol
0
29

The End.