39,323 Topics

Member Avatar for
Member Avatar for boblack

i'm trying to embed my C code function into PHP using SWIG but it doesn't work.....how can i figure it out? Regards

0
42
Member Avatar for divyakrishnan

Hi... I have a problem to load a PDF file which is stored on another machine.I had loaded the PDF on the same machine using following PHP script.Here I had used a hyper link to load PDF. [CODE] <?php $file="first"; $pdfFile=$file.".pdf#page=1"; ?> <a href="<?php echo $pdfFile; ?>" target="_blank" > Click …

Member Avatar for divyakrishnan
0
765
Member Avatar for xxreenaxx1

[CODE] SELECT * FROM user u, subject s, test t, question q, answer a WHERE u.Use_ID =1 AND t.Sub_ID =1 AND s.Sub_ID = t.Sub_ID AND a.Que_ID = q.Que_ID [/CODE] I would like to check if the a.Que_ID =q.Que_ID does not exist then it should do the rest of the query. …

0
56
Member Avatar for new_developer

Hi everyone, Please check php code below, when i load this page in browser it gives me following errors. "Notice: Undefined index: submit in E:\wamp\www\login\register.php on line 4" "Notice: Undefined index: fullname in E:\wamp\www\login\register.php on line 5" "Notice: Undefined index: username in E:\wamp\www\login\register.php on line 6 "Notice: Undefined index: password …

Member Avatar for new_developer
0
100
Member Avatar for xxreenaxx1

I have two table of same data. First table is written by the admin and the second data is written by the user. Now I want to compare these two and see if they match, if not then the correct data is displayed. So far I am retrieving the user's …

Member Avatar for xxreenaxx1
0
109
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
156
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
588
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
113
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
176
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

The End.