39,402 Topics

Member Avatar for
Member Avatar for chris.aaker

When working in a C IDE I can simply click on view disassembly to view the assembly code. Does PHP have an equivalent? It looks like Opcodes are as low - level as one can get but I wanted to verify. Secondly, What is a good IDE to view the …

Member Avatar for chris.aaker
0
207
Member Avatar for agriz

Hi, I was just browsing Paypal page. I am really confused. I want to have two options in my website. Recurring and Non-recurring payments. For recurring payment, It seems i need to create "CreateRecurringPaymentsProfile" with the following options. token, amount, currency, date, billing period, billing frequency I don't have a …

Member Avatar for chrishea
0
93
Member Avatar for joban.ali

Hi Everyone I just wanted to know how i can display the content of one of my database field in a list format. I have field called Ingredient, the data type of that field is Text, i tried using css but it just turns the whole content as 1 list, …

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

Hi, i m the beginner for php.What happen to my coding ~ it cannot work~~ [CODE]require_once('../../../Connections/admin_db.php'); $submit = $_POST['Submit'] ; if ($submit == 'Submit') { $ag = $_POST['ag']; //Insert Data into Instructor Profile Info $q = "INSERT INTO user(`age`) VALUES ('$ag') " ; mysql_query($q) or die(mysql_error()) ; if (!mysql_error()) echo …

Member Avatar for ss90
0
101
Member Avatar for lf.gene

[ICODE]<html xmlns="http://www.w3.org/1999/xhtml" > <head> <title>PicNet Table Filter Demo</title> <script src="http://ajax.microsoft.com/ajax/jquery/jquery-1.3.2.min.js" type="text/javascript"></script> <script type="text/javascript" src="picnet.table.filter.min.js"></script> <script type="text/javascript"> $(document).ready(function() { // Randomly Create Data Rows for (var i = 0; i < 50; i++) { var tr = $("<tr>" + "<td>Value" + Math.floor(Math.random() * 500) + "</td>" + "<td>" + Math.floor(Math.random() * …

Member Avatar for diafol
0
274
Member Avatar for ss90

hi,i am facing problem about when i choose more than 2 selected data from the multiple drop-down list ,there onli have 1 data successfully insert into database. [CODE]if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) { $insertSQL = sprintf("INSERT INTO c_register (id, c_code, c_name, p_name, inctructor_name, c_category, c_group, c_credit_h, c_total_learning_h, c_pre_requirement, c_synopsis, …

Member Avatar for ss90
0
2K
Member Avatar for jacob21

Hi, I am working on a search script in php mysql & jquery.Its working fine.What i want to do,when a user click search button,it opens a new page named search.php. need help

Member Avatar for jnicholls92
0
84
Member Avatar for ss90

hi, i have 2 different user ~which are admin and instructor ,the admin successfully log in to admin.page and it will showing their name ,the instructor login in to instructor.page will showing their namr also.hope can help thx!! [CODE]<form id="form1" name="form1" method="post" action=""> <table width="280" height="66" border="2" cellpadding="2" cellspacing="2"> <tr> …

Member Avatar for jnicholls92
0
127
Member Avatar for TechySafi

[CODE]$data = "email@yahoo.com,go@gmail.com,example@example.com"; list($email1, $email2, $email3) = explode(",", $data); echo $email1; // email@yahoo.com echo $email2; // go@gmail.com [/CODE] Pretty perfect but my problem is I don't know how many email addresses will be inserted by a user. He can input just 1/2 or even 30/40. So the style of below …

Member Avatar for TechySafi
0
118
Member Avatar for anita_86

Hi!! I have a store purchase management system which manages purchase orders, goods received notes and purchase bills. problem is, if the quantity in goods received note and purchase order dont match, similarly, if quantity in goods received note and purchase bill dont match, i have to keep track of …

0
67
Member Avatar for mohansinhf

I am having records in a field (field_id) of a table (in mysql database), which is having ID stored per line, for example [B] 1 2 3 10 11 13[/B] above is one record, and I have many records similar to that. and, when I am writing the query [B]SELECT …

Member Avatar for mohansinhf
0
96
Member Avatar for flynismo

Hi all, basically, what I am having trouble with is this: I have a value stored in a table for each member, let's call it $my_value. Each member has a $my_value, which is an integer. What I want to do is as follows... Lets assume I log in as user …

Member Avatar for flynismo
0
188
Member Avatar for danholding

[CODE=php]<?php if (isset($_FILES["file"]["name"])) { if ($_FILES["file"]["type"] == "application/x-download" || ($_FILES["file"]["type"] == "application/octet-stream" && strrchr($_FILES['file']['name'],'.')==".odt") || $_FILES["file"]["type"] == "text/plain") { if ($_FILES["file"]["error"] > 0) { echo "Return Code: " . $_FILES["file"]["error"] . "<br />"; } else { echo "Upload: " . $_FILES["file"]["name"] . "<br />"; echo "Type: " . $_FILES["file"]["type"] . …

Member Avatar for danholding
-4
555
Member Avatar for Tempest will

Hi all, im trying to make a new webpage open if a persons password is equall to COOP, i have used the code [CODE]header('Location: loginfull.php')[/CODE] to do this but i need to call through the EmployeeID and Password when this link is opened, any one have any idea how ? …

Member Avatar for Akash Saikia
0
237
Member Avatar for ebanbury

OK I'm pretty sure this is an easy one. I've successfully made my list and checkbox fields sticky using selected=selected and checkbox=checkbox etc etc. I now have a very simple text field. What is going wrong is that the entire string within the value="" shows up as the initial value …

Member Avatar for Akash Saikia
0
387
Member Avatar for pool_89

HELLO. THIS IS MY CODE.. WHY HAS THAT ERRORS..I HAS TRY MANY SOLUTIONS, BUT IT CANT WORK... PLS HELP ME IMMEDIATELY.. TQ "Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\AppServ\www\integombmds\updateCurriculumCorrect.php on line 190" BELOW IS MY CODE: [code]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> …

Member Avatar for cwarn23
0
251
Member Avatar for debasishgang7

I am trying to write a script that will get TOP ten values from a Table of a certain column. Here is my code.. [CODE]<?php include("../inc/db.php") $data = mysql_query("SELECT * FROM table ORDER by rank DESC LIMIT 10"); while($row = mysql_fetch_array($data)) { echo $row['id'] ; echo "-----"; } ?>[/CODE] Here …

Member Avatar for diafol
0
120
Member Avatar for Sorcher

Hello! I am beating myself up here. I use [CODE]include "header";[/CODE] on all pages, at the top, the header contains everything within <header></header> on a html page. But should i use [CODE]session_start();[/CODE] inside the header or before i include header.php on all pages? The session on my website logs out …

Member Avatar for diafol
0
312
Member Avatar for fidolas7

when i log in my pages move to home.php page,so i need how to relate home page with other pages,that the same person to get permission to access to other pages!

Member Avatar for stokes1900
0
102
Member Avatar for Tempest will

Hi all , below is a program i have made, and i need to know the code to compare password and password1 so they are the same value and the user hasn't made a mistake, but im not sure on how to do this, any ideas ? [CODE]<body> <table width="744" …

Member Avatar for joban.ali
0
1K
Member Avatar for vijaygupta

hello , Iam trying to add google map fuctionality in website dynamicallly. Iam sucessfull in but noe i want my map to be opened in lightbox .i have googled and found various results but of no use .any kind of help appreciated thanks

Member Avatar for diafol
0
243
Member Avatar for Acids

I posted previously trying to find out how to get my data that is stored in a database, but then Ive thought what if i just use arrays? I have some code here on my Wordpress Plugin Options page which allows a user to enter a value and save it. …

0
57
Member Avatar for TechySafi

I wan't to check if a user is listed as permitted in a particular group. How'd you do that? Should I do something like this? [CODE]group_id | permitted_users 1 | mark,jon 2 | maria,warren,mila[/CODE] now I gotta retrieve the value of permitted_user column of a specific group then separate every …

Member Avatar for TechySafi
0
53
Member Avatar for chrishea

[URL="http://www.appcelerator.com/"]Titanium[/URL] is an open source package that brings a bunch of development options together into one place. It allows you to take one set of code and deploy it on: [LIST] [*]Windows [*]Linux [*]Mac [*]Android [*]Iphone [/LIST] Even better, you don't need to learn a new language. The development is …

Member Avatar for smantscheff
0
144
Member Avatar for Acids

I am a total noob at php and I am creating a basic wordpress plugin for a site. I have a function [CODE]function My_Function_2() { ?> [/CODE] Then I have an input inside a div coming from an options page: [CODE]<form method="post" action="options.php"> <?php wp_nonce_field('update-options'); ?> Define Box height <table …

Member Avatar for ko ko
0
174
Member Avatar for siva1117

Hello, I need a small php script to ping a domain with custom referrer url eg: I need a script to ping a website [url]www.abc.com[/url] with a custom referrer url ie. xyz.com so that the website abc.com would think that the traffic is from xyz.com Anyone have an idea? --SS

Member Avatar for MagicMedia
0
70
Member Avatar for s1Lolz0rz

I know there is a lot of threads already on this website, but I cant find any that remotely looks like it'd be help to me. I am getting frustrated over this bit of code error. Any help would be appreciated. php line 64 [CODE] $emails = $_REQUEST['email']; $data = …

Member Avatar for diafol
0
225
Member Avatar for musfirah

hello, i'm new in PHP coding. Please help me in solving this error. Parse error: syntax error, unexpected T_STRING in C:\wamp\www\test\testdate.php on line 49 Line 49 is :Valid Oxygen:$oxygenmin-$oxygenmax I attach together the whole coding for my project: [code]<?php require("phpmailer/class.phpmailer.php"); $db_connect=mysql_connect("localhost","root",""); if(!$db_connect) { die("Could not connect:".mysql_error()); } mysql_select_db("mpob",$db_connect); /****2)RETRIEVE DATA …

Member Avatar for anilashanbhag
0
2K
Member Avatar for kokfui

http://i325.photobucket.com/albums/k392/sarjan123/name.jpg hi all, for the picture above,i am currently writing a code to check if the seller_name is match with current login user name,it will show the item name in a page, i have following code now <?php $check =$_SESSION['username']; $query = "SELECT id, seller_name "; $query .= "FROM items …

Member Avatar for anilashanbhag
0
115
Member Avatar for ebanbury

Hi I'm having problems with a query bringing back records where the price is between 2 different min and max options. My field in the db = prop_price and it is currently an integer (as I thought part of the problem might be the comma in the prices) I've pasted …

Member Avatar for ebanbury
0
104
Member Avatar for afro360

Hello Im trying to read from ttyUSB0 on Ubuntu using the following code: [CODE] <?php // Create the context set_time_limit(0); @ob_end_flush(); ob_implicit_flush(true); $c = stream_context_create(array('dio' => array('data_rate' => 1200, 'data_bits' => 7, 'stop_bits' => 2, 'parity' => 0, 'flow_control' => 0, 'is_blocking' => 0, 'canonical' => 1))); // You can …

Member Avatar for tingon
0
1K
Member Avatar for sureronald

Hi everyone. I have an application where users submit text files and then based on some rules, the application gives instant responses of whether the submitted text file is right or wrong. What actually happens behind the scenes is that I have the correct text file on the server and …

Member Avatar for sureronald
0
181
Member Avatar for mehran tahir

hi, how i make connection to the sierra server in php using modernbill systen,any idea or help i pass whole day on it,but found nothing

0
72
Member Avatar for JimBobUKII

Hi, I am having a few issues trying to get this to work. When I click the link delete i want the record to be deleted from MySQL if 2 parameters are true. The following is the delete link: [url]http://domain.com/records.php?url=21313[/url] So the first parameter is "url" the second will be …

Member Avatar for happytogether
0
156
Member Avatar for dschuett

I have a database of invoices that have multiple attachments(which are stored in a different table) per each invoice. I have it returning the row of invoices just fine. But now I want a way to click the "view" link to call a php script to open up a jquery …

Member Avatar for tinymark
0
2K
Member Avatar for dornaled

hi can any body tell me about SimpleXML function i don't know about this so help me. thanks and advanced.

Member Avatar for cwarn23
-1
63
Member Avatar for jacob21

Hi, SELECT * FROM admin INNER join category on category.cat_id=admin.cat_id where cat_id=5; showing an error. #1052 - Column 'cat_id' in where clause is ambiguous need suggestions..

Member Avatar for cwarn23
0
32
Member Avatar for sindhuravindran

hi.. i want to develop a GUI for the Grid in my company.. so pls someone provide me with a code for job submission in grid.. job submission module includes submission of a job, status of job, cancelling and retrieving output of a job.. if not a complete code, atleas …

Member Avatar for Stefano Mtangoo
0
160
Member Avatar for ebanbury

Hi I'm trying to write a query which when 0 is selected it brings back all the district_zones otherwise it just brings back the selected zone. It brings back the selected zone fine, but not all records which are not 0 I know it is my wildcard that is the …

Member Avatar for ebanbury
0
87
Member Avatar for phpDave

Hello, I'm building a site that allows users to post comments like facebook. After say, 10 rows ( or 10 INSERT INTO's )I want the 1st row to be deleted as to control space in the data base. Any key words or links would help. Thanks

Member Avatar for phpDave
0
78
Member Avatar for vijaygupta

hello, I have build an code for opening a map in thick box but i have problem closing it ,i have to click outside a thickbox please help

Member Avatar for tinymark
0
230
Member Avatar for bengarbi

I have a table made up of a number of columns, id, room_id, property_id, and date. The property_id could be a category with different room_id being subcategory. An additional variable is the number of dyas, eg.2 .The date is stored as a timestamp, so if two nigths are selected along …

Member Avatar for bengarbi
0
129
Member Avatar for jrotunda85

I am trying to write a script for my site that will check if a user has submitted a review for a particular cigar in the past [B]30 days[/B] and if they have, prevent them from creating a new review. I am trying to figure out the code but I'm …

Member Avatar for mschroeder
0
163
Member Avatar for klemme

Hey All! I am trying to update some records using forms - But something gets mixed up when I send my info to the database: [B]My form with the info I wish to update, look like this:[/B] [CODE] //Getting the info from a dropdown list, where the user has picked …

Member Avatar for klemme
0
86
Member Avatar for dschuett

I know this is kind of a jquery/ajax question, but I figure it wouldn't hurt to ask here since someone may have done something similar. I have a database of invoices that have multiple attachments(which are stored in a different table) per each invoice. I have it returning the row …

0
87
Member Avatar for mekalai

I'm trying to create a simple login page by following a tutorial i saw online. I did everything it required but i got this error Deprecated: Function session_is_registered() is deprecated in C:\xampp\htdocs\final\login_success.php on line 7 Login Successful my code is login_success.php [CODE]<? // Check if session is not registered , …

Member Avatar for mschroeder
0
115
Member Avatar for johndohmen1963

I have to folowing problem I have links in a table Some of thes cells are empty So if have the folowing code: </td><TD WIDTH='180px'><p CLASS='WithBreaksNarrow14'><a href="<?php If echo (!$row['link'])) $row['link']; ?> target="_blank" <?php else echo '&nbsp;'; ?>"><font color="orange"><?php echo $row['treffpunkt_wo']; ?></a></font></p></td> But my target="_blank" dosn't work and even the …

Member Avatar for johndohmen1963
0
224
Member Avatar for rand486

I'm currently putting together a map that shows the jurisdiction of different offices. I'd like to be able to draw the borders on the map (already done in a PNG), and allow users to either click the map roughly where they live, or type in a postal code. This will …

Member Avatar for rand486
0
134
Member Avatar for rkayd

(I know this is the wrong forum to ask this but I haven't got any help on any of the Javascript forums I've asked this on so maybe someone here can help - or you can go to the Javascript section and answer it there if you like.) I'm new …

0
94
Member Avatar for RobotFX

I'm using wget to run some scripts without any problems, but I've complicated a little the script and I'd like to use this command: [CODE]wget -o /dev/null -O /dev/null - http://site.com/script-to-sent-email.php?feed=http://feeds.feedburner.com/myfeedaddress&email=email@email.com >> /dev/null 2>&1[/CODE] The [I]script-to-sent-email.php[/I] is supposed to send a feed to an email box - it uses the …

0
58

The End.