39,323 Topics

Member Avatar for
Member Avatar for trishtren

Hey, I was hoping someone can help me convert a piece of php code, im not really sure where to start pack( 'v', $test ); The pack php function above takes in an integer and converts it to an unsigned long. V - unsigned long (always 32 bit, little endian …

Member Avatar for keith.pastorek
0
1K
Member Avatar for iamthwee

can someone explain these. And the difference between abstract and interfaces? These confuse me. Ta Also if you're asked to write a bit of code what tasks can i expect and can i assume i'll be given any resources or just pen and paper?

Member Avatar for Morta
0
141
Member Avatar for LastMitch

Hi I'm having issues with **get_magic_quotes_gpc()** function. I download this **Ajax File and Image Manager** from this site: http://www.phpletter.com/DOWNLOAD/ I install it on tinymce & fckeditor to test it out. They both work. I try to link the images and it didn't work and I also realizes the links are …

Member Avatar for LastMitch
0
265
Member Avatar for wasim kazi

I have one div which contain UL and LI. In this I want to generate dynamic Id of that LI. right now I given static id of this . Now In this I want to generate my li's ID like given below. Now I'm bit confused how will I get …

Member Avatar for wasim kazi
0
1K
Member Avatar for passioncoder

Hi Coders, I am really in need of your help...... *Table of contents* are available with *action buttons*, When i click on a particular action button say for examble *edit*,the *id* of that *particular row* should be passed to the *edit space*,so that i can pull all other values from …

Member Avatar for passioncoder
0
1K
Member Avatar for Linna

I want to show names of the employee in drop down list fetched from database depending on type of team checked by the user (Teams like Hr,PD,PI) are in the form of checkboxes .how can i do this? the code m using is:- `<li><input type="checkbox" name="box[]" value="Ac&Admin" onClick="dropdown(0)" />Ac&Admin</li> <li><input …

Member Avatar for pritaeas
0
120
Member Avatar for RobotFX

Well, I'm still a noob when it comes to PHP (or anything), so I'll just give an example. If you go here: http://www.gmodules.com/ig/ifr?synd=googlemodules&w=500&h=350&mid=0&url=http://hosting.gmodules.com/ig/gadgets/file/102166312438248764726/calendar-personalized.xml you'll see the XML gadget displaying nicely in the browser window. Of course, if you load only the gadget in the browser (http://hosting.gmodules.com/ig/gadgets/file/102166312438248764726/calendar-personalized.xml) the page will display …

Member Avatar for pritaeas
0
172
Member Avatar for vindyauwu

I can't insert data to database through this code.Data alredy exist part is working but after that data not insert to the database. This is the PHP code. <?php error_reporting(E_ERROR|E_WARNING); session_start(); if(isset($_POST['add'])){ $no=$_POST['txtno']; $refer=$_POST['txtrefer']; $amount=$_POST['txtamount']; $state=$_POST['txtstate']; $dblink = mysql_connect("localhost", "root", "") or die('Not able to connect to server : ' …

Member Avatar for vindyauwu
0
173
Member Avatar for memccool

Ok so I have a script that I am writing and I have encounted a problem. I can not get the information from a dropbox to submit into mysql data base here is my script. <form action="work.php" method="post"> <table> <tr> <td>Email:</td> <td><input type="text" name="Email" tabindex="1" /> </td> </tr> <tr> <td>Messgae:</td> …

Member Avatar for broj1
0
295
Member Avatar for vizz

How to create template and database for following structure in wordpress? **index.php** main wrapper width 90% 5%-5% margin left and right left column 65% of main wrapper(article) right column 35% of main wrapper(only image) **about.php** main wrapper width 90% 5%-5% margin left and right left column 35% of main wrapper(only …

Member Avatar for vizz
0
192
Member Avatar for nova37

hello i want to add search functionality to my website . my task is to get input from user then check it if its domain like google.com then (do work 1).... else if keyword like news etc then search database so i made search.php mysql_query("SELECT * FROM `table` WHERE `title` …

Member Avatar for gabrielcastillo
0
207
Member Avatar for beingdeep

I have win 7 in my pc .. it was working well a few days ago .. bt now, when i am trying to start my apache server "[apache] Starting apache service..." only this thing is comming out .. and nothng happening .. i uninstalled skype.. bt still not working …

Member Avatar for rotten69
0
35
Member Avatar for koveras vehcna

I have a heat map application on OpenLayers (using XAMPP 1.8.0 and MySQL) where user enters two date and time intervals and selects whether he/she would like to view all the data between those two datetimes or view them based on hourly/daily/weekly/monthly intervals. However, when I type in two date …

Member Avatar for koveras vehcna
0
333
Member Avatar for LastMitch

Hi I want to find out is there a way to check syntax errors on PHP. I went to this site http://php.net/manual/en/function.php-check-syntax.php but I didn't quite understand the example in there. Is there a software that I can check the errors. I used EasyPHP, WAMPP. I appreciate any links or …

Member Avatar for LastMitch
2
577
Member Avatar for devianleong

<?php include('./config.php'); //protect SQL injection $username = $_POST['username']; $password = $_POST['password']; $username = stripslashes($username); $username = mysql_real_escape_string($username); $password = mysql_real_escape_string($password); $password=hash('sha256',$password); //SQL query that sent login info to database $result = mysql_query ("SELECT * FROM admin WHERE Login ='$username' AND Password ='$password'",$con); $check = mysql_num_rows ($result); @session_start(); if ($check == …

Member Avatar for phorce
0
129
Member Avatar for Taios

Hey there guys. I'm gettign what should be a trivial php error but I cannot for the life of me find it! Parse error: syntax error, unexpected '{' in /home/sites/blah.co.uk/public_html/paypal_ipn_test/ipn.php on line 14 My code of ipn.php is: <?php // tell PHP to log errors to ipn_errors.log in this directory …

Member Avatar for Taios
0
225
Member Avatar for mevoohafez

I tried to insert data using the following code, but I really I don't know how can I get result and what is the problem in my code, I tried to build firstly my form then I write the insert query and send it to a new form , any …

Member Avatar for Squidge
0
317
Member Avatar for vijayram

hai, everybody, I have multiple checkbox fileds. how to add images in each fields this is my templete my plan type field is 10 types. user select plan type 1 add image1 plantype2 ->addimage2.png <div><span class="field-label">plantype: <img width="20"src="images/layout/image1.png " /> <?php echo str_replace(',','<br/>',$meetnewpeople['plantype']) ?></span></div></br> $this->widgetSchema['plantype'] = new sfWidgetFormChoice(array('multiple' => true,'expanded'=>true, …

Member Avatar for AleMonteiro
0
97
Member Avatar for ceinoris

Hello i can not figure out how to take images from my database to jQuery gallery. User uploaded images in the data base. Images are sorted by date. And how I can do, what all imges goe's in the jQuery gallery, besause now i can get all imges in one …

Member Avatar for AleMonteiro
0
277
Member Avatar for daisy.m.consolacion

can you help me with my code, kindly give me or take a look at my codes in embedding a captcha pls...thanks...asap! <?php $submit = $_POST['register']; //form data $first = strip_tags($_POST['first']); $middle = strip_tags($_POST['middle']); $last = strip_tags($_POST['last']); $username = strip_tags($_POST['username']); $password = strip_tags($_POST['password']); $repeatpassword = strip_tags($_POST['repeatpassword']); $email = strip_tags($_POST['email']); $street …

Member Avatar for daisy.m.consolacion
0
169
Member Avatar for papadarl
Member Avatar for PHPuss

Oracle : 11.2.0.1.0 Apache 2.0 Handler PHP Version 4.4.9 Windows XP I have problem to connect with Oracle 11g. Log apache : PHP Warning: Unknown(): Unable to load dynamic library 'C:\\Program Files\\Apache Group\\Apache2\\php\\extensions\\php_oracle.dll' - The specified module could not be found.\r\n in Unknown on li when I open phpinfo : …

Member Avatar for pritaeas
0
136
Member Avatar for LRNPHP

Hi There, I'm busy developing a PHP / MySQL billing system for our company but can't seem to get the following working for me. I need to have 1 page that will display the extensions billing period / month for local, national and international calls and it needs to be …

Member Avatar for pritaeas
0
503
Member Avatar for decade

Hi Everyone I have a problem regarding PHP Array here is the code: $array_of_arrays = array( array[0] = value1, value2, value3; array[1] = value4, value5, value6; array[2] = value7, value8, value8; ); Well i want to skip array[0] in loop. i just want to start the process of loop from …

Member Avatar for blocblue
0
112
Member Avatar for Paul7575

Hi there, Can anyone help? Why is the following code displaying "P1P2P3..." etc, instead of "P1 , P2, P3 ,.." etc. ? Thanks Paul <!--Conect to database--> <?php include "connects/patientconn.php"; ?> <?php $query = "SELECT `Patient I.D.` FROM `patient`"; $result = mysql_query($query); while($patient = mysql_fetch_assoc($result)) { $pt = implode(" , …

Member Avatar for broj1
0
70
Member Avatar for jwales

Hi. I am new in coding and sufferin from some basic issues. I've been trying to write and searching codes for writting into xls file for 3 days but could not find a suitable one. The problem is: ![clss](/attachments/large/3/clss.png "clss") I created a page with textareas and submit/reset button like …

Member Avatar for broj1
0
689
Member Avatar for vizz

How to Bookmark website without informing user(visitor) of website? And How to set as browsers homepage without informing user?

Member Avatar for vizz
0
218
Member Avatar for CarterLangley

Hi all, I am retrieving information from a database and need to have that information put onto a new line (<br>) depending on the location of the comma which seperates the different areas of the information. Here is what is being retrieved *2.25 L 75 hp (56 kW) I4 petrol …

Member Avatar for CarterLangley
1
185
Member Avatar for rotten69

Hi everyone, I am looking for an editor or plugin for Komodo or Eclipse that provides me with the CakePHP function autocompletion and syntax correction as well. Thank you all.

Member Avatar for rotten69
0
188
Member Avatar for mithunan7

Hello world, I am stumped, someone please help me with some code. I have created a purl, example: www.mydomain.com/purl However, I want people to first go to www.mydomain.com. On the homepage, I want people to enter their phonenumber (which is the purl) in a textbox. I am looking for a …

Member Avatar for mithunan7
0
155

The End.