38,021 Topics

Member Avatar for
Member Avatar for rom.

hi there, I'm having trouble with my project, I can't wrap my head around the code. Any help would be greatly appreciated! in a database you have 2 tables. they look like the following.. table: workflow columns: id, title, content_id table: content columns: id, text list (echo) all the entries …

Member Avatar for diafol
0
116
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
201
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
89
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
117
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
99
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
266
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
81
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
123
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
116
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
65
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
93
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
177
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
495
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
235
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
383
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
248
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
118
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
307
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
101
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
240
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
54
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
141
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
172
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
67
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
220
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
110

The End.