38,023 Topics

Member Avatar for
Member Avatar for xxreenaxx1

I have two delete function and would like to make this as one. So I can use this on my webpage. But not sure how? Anyone willing to help me :D [CODE=php] DELETE FROM test WHERE Tes_ID=$Tes_ID; DELETE FROM question WHERE Tes_ID=$Tes_ID [/CODE]

Member Avatar for xxreenaxx1
0
79
Member Avatar for ale89

Hi everyone! I'm making my own forum without any bulletin board system that is already done and all you need to install, no idea why my own to make a code made ​​by me. At the time of creating a new topic in my forum, What me recommend the text …

Member Avatar for diafol
0
152
Member Avatar for vibhaJ

Hello All, I am having one email template code as shown below. [CODE] <table width="400" border="0"> <tr> <td><strong>Id</strong></td> <td><strong>Name</strong></td> <td><strong>Address</strong></td> </tr> <tr> <td>##ID##</td> <td>##NAME##</td> <td>##ADDRESS##</td> </tr> </table> [/CODE] Site administrator manage this. Now i want php code to dynamic replace [B]##key##[/B] code. It is simple for one record but here …

Member Avatar for diafol
0
88
Member Avatar for dgcerk369

I have a webmaster that got a problem converting excel to Msql and i want to help him along with a software or other solution that converts excel to msql database. thanks

Member Avatar for happytogether
0
51
Member Avatar for patrickm129

Hi all, I'm working on a login system for my site. But when I use mysql_num_rows I get an error [CODE]"Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in /home/patrickm129/patthepcwizard.com/login02.php on line 25"[/CODE]. I'd really appreciate it if you would be able to solve this with me. P.S.: …

Member Avatar for happytogether
0
110
Member Avatar for drewpark88

Hey guys, What would be the easiest way to retrieve Google Analytics Monthly Visitors & Pageviews? I just want to display them in text for my website like: Visitors this Month: 1,222 Pageviews this Month: 3,433 If you have example code or a link to a tutorial that would be …

Member Avatar for pavankumarr
0
255
Member Avatar for ss90

hi~ my problem is when i choose the program from the drop-down list then the PEO-ID will auto display the data that related with program ...then after fill in the form it can click the 'register' button .. [CODE]<?php require_once('../../../Connections/admin_db.php'); ?> <?php require_once('../../../Connections/admin_db.php'); ?> <?php require_once('../../../Connections/admin_db.php'); ?> <?php if (!function_exists("GetSQLValueString")) …

0
87
Member Avatar for puvi

hi frens.. i ll simplify my requirement and explain the issue.. lets say, i have 3 textbox rate, quantity, total and a "add row" button. I must be able to add any no. of rows. There must also be a supertotal field before the "add row" button to display the …

Member Avatar for puvi
0
585
Member Avatar for masterjiraya

this is the code for selecting the file to be deleted by the user [CODE=HTML] <title>File Delete</title><form enctype="multipart/form-data" action="delete.php" method="POST"> <input type="hidden" name="hidden1" value="file to be uploaded in AldrichSample folder" /> Please choose a file: <input name="deleted" type="file" /><br /> <input type="submit" value="DELETE" /><br /> <input type="reset" value="cancel" /><br /> …

0
58
Member Avatar for twitt

I want to write a code, to query "Keyword" and echo the results of advertisements that appear in google search result (11 paid search adwords results). How can i do it?

0
30
Member Avatar for ubi_ct83

Hi, i wanna develop web-based system. use PHP to send data to database.but, from database i use the data to be processed by java application then send back to database.my problem is i cant relate the user and java application.so,im thinking of sending directly data to java application and at …

0
57
Member Avatar for Joshua Kidd

Hello all, I have this page that I made: [url]http://www.globalvirtualairlines.com/MyPages/web%20app.php[/url] and on the middle column called "Total Flights" and there are many 0's. I want to be able to change all the 0's to NONE. How would I do this? Can someone help? Thanks. :)

Member Avatar for Joshua Kidd
0
112
Member Avatar for avmaza

Dear friends, I have created one form to search the data from the database. the form is having four text button to get input for search. if the search criteria matches, it will display the results on next page. But I want to print while giving the input data in …

Member Avatar for nomita
0
167
Member Avatar for Joshua Kidd

Hello all, I am very new to PHP about 2 weeks on it now, and I was wondering if there would be any possible way to 1. Write Text to an XML File via FTP(or other way) 2. Delete certain lines, or Delete certain childs in the XML file. (IK …

0
61
Member Avatar for phpDave

Hi, I'm working on a site that allows users to connect with each other. User can search, find friend, and then request a connection. It works but if user request a second time it duplicates the row in table. I only want INSERT if does not exists. Here is code. …

Member Avatar for phpDave
0
93
Member Avatar for agr8lemon

I've used this many times and it's always worked, however for some reason I'm missing something. [CODE]$ddType_query="SELECT DISTINCT Type from dbo.LTN_HARDWARE"; $ddType_result=odbc_exec($conn, $ddType_query); while ($ddTypeOptionsRows = odbc_fetch_array($ddType_result)) { //echo $ddTypeOptionsRows['Type'], "\n"; $ddTypeOptions = $ddTypeOptionsRows['Type'] ; } odbc_close($conn);[/CODE] I'm trying to get the $ddTypeOptions to contain all the distinct results of …

Member Avatar for diafol
0
93
Member Avatar for woolm110

Hey Everyone, I'm currently creating a simple shopping cart with interaction to PayPal. I've set up a database with a table named orders. I'm using the PayPal sandbox and what I'm looking to do is to post the order details into my database on payment completion. I have a script …

0
156
Member Avatar for tcollins412

i have a script that sends an email to cellphones: [CODE=html] <form name='celltest' method=post> <input type=hidden name=cellsubmit value=yes> <tr><td rowspan=1>Mobile Phone: <input type='text' class='efield' id='phone' name='phonetest' style='width: 200px;'></td><td style='padding-bottom: 15px; padding-left: 3px;'>&nbsp;<a href="?ref=ea&dotest=1" class='eap' style='width: 50px;'>Test</a></td></tr></table></td></tr><tr><td style='font-size: 12px; text-align: left; padding-top: 2px; padding-left: 35px;'>Provider: <select name=provider class=efield style='width:258px;' id='provider'> <option …

0
131
Member Avatar for saifi007

hi friends. I m not able to open yahoo weather on my website by fopen() function and server gave me this error:- Warning: fopen([url]http://xml.weather.yahoo.com/forecastrss?u=c&p=98908[/url]) [function.fopen]: failed to open stream: no suitable wrapper could be found so plz give me another way to add yahoo weather on my website

Member Avatar for diafol
0
42
Member Avatar for rom.

I'm making a simple IP logger. I've tested the script, but the database doesn't seem to filling up. It could be a problem with the database format etc, details below. Otherwise, I must have made an newbie oversight in the PHP. Some fresh eyes would be greatly appreciated! id: INT(10), …

Member Avatar for diafol
0
169
Member Avatar for LloydFarrell

Hi all... I am trying to get data from a table field called "custom" from a mysql database the data is stored as 23-1, where 23 is the id and 1 is the quantity How do I build an array or extract the data and place the values into two …

Member Avatar for LloydFarrell
0
99
Member Avatar for zeusthegreat

what i wish to do is for a visitor to my web site to be able to upload either picture of no more than 4mg and a word or pdf file of 1mg have been able to do this in part, but i cannot get the image to show on …

Member Avatar for diafol
0
61
Member Avatar for klemme

Hi All! I have a table with different kinds of customers information. With the code I have posted below, I want to pull out all the records from the database. When I progress to make the "create_record" page, my intention is that it should automatically be added as an extra …

Member Avatar for joban.ali
0
119
Member Avatar for Aeterna

My website [url]http://animalcrueltyfacts.net[/url] is having serious issues with IE. These are not browser compatibility issues, and they are not isolated to my computer. No version of IE on any computer can load the server to my website. I have no idea whats causing this. The website works fine in other …

0
66
Member Avatar for adamworld

I am working on a site and I want to be able to query the appropriate table based on their location. For example, if they input they live in NY, it should query the NY table. If they input they live in CA, it should query the CA table and …

Member Avatar for adamworld
0
93
Member Avatar for devinodaniel

I have a site the generated a row of data from MySQL db. The parent element DIV is called "enclosure". This shows up as hidden when page loads. I have a link "show/hide" that I'm using to show the data when click using jQuery. My problem: Since all the rows …

Member Avatar for macneato
0
203
Member Avatar for an00p

Hello Friends, I have an issue after upgrading my firefox to version 4. This issue was there in IE8 but worked nicely in firefox3 Here is my issue: I have a page with three forms and each form posts using "htmlentities($_SERVER['PHP_SELF'])" action that is to the same page. Based on …

Member Avatar for an00p
0
121
Member Avatar for TechySafi

[CODE]<script language = "javascript"> var XMLHttpRequestObject = false; if (window.XMLHttpRequest) { XMLHttpRequestObject = new XMLHttpRequest(); } else if (window.ActiveXObject) { XMLHttpRequestObject = new ActiveXObject("Microsoft.XMLHTTP"); } function getData(dataSource, divID) { if(XMLHttpRequestObject) { var obj = document.getElementById(divID); XMLHttpRequestObject.open("GET", dataSource); XMLHttpRequestObject.onreadystatechange = function() { if (XMLHttpRequestObject.readyState == 4 && XMLHttpRequestObject.status == 200) { …

Member Avatar for TechySafi
0
233
Member Avatar for jrotunda85

I keep getting the following error whenever I try to run this query on my "spot" table: [CODE]#1054 - Unknown column 'a.Longitude' in 'field list'[/CODE] The weird thing is though that the column DOES in fact exist, is spelled the same way, and has thousands of rows of data. Even …

Member Avatar for jrotunda85
0
113
Member Avatar for vijaygupta

hello , I am writing a validation code in which i have validate two feilds and check if the feild username and email already exist in the database. please help

Member Avatar for jkon
0
135

The End.