39,326 Topics
| |
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 … | |
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 … | |
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 … | |
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) … | |
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: … | |
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"; }} … | |
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 - … | |
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 … | |
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 … | |
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 … | |
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" … | |
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 | |
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 | |
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 … | |
| 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 … |
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'; … | |
I need to display a large text into starting line of the text and ...............then.please help me. | |
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 … | |
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 … | |
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 … | |
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 … | |
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() … | |
>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 … | |
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 … | |
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 … | |
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 … | |
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....? | |
How to set user name for Google+ profile like following, **www.facebook.com/username** | |
|
The End.