39,326 Topics

Member Avatar for
Member Avatar for Frankey

I have some strings that contain & # 234 ; or other special character, i want to normalise them so i can use them in database, urls etc. What i started is below, but i can not belief there isn't a php function for it, anyone now which one? [CODE] …

Member Avatar for diafol
0
181
Member Avatar for kbomo

I want to map a field, city, from a MySQL database into Google Maps. I found a nice script to do it, but haven't been able to get it to work. If I hard code an array into locations (var locations = ['Seattle', 'New York']), it works fine. Passing this …

Member Avatar for Airshow
0
7K
Member Avatar for imti321

EVERYTHING IS OK DONT KNOW WHY IT DOSENT WORK I THINK THERE IS PROBLEM IN 'PATH' IT SHOWS ERROR ON LINE 27 NEAR </td> [CODE]<html> <table width='70%' align='center'> <tr> <td> <img src='inc/b.png'> </td> </tr> </table> <table width='20%' align='center'> <tr> <td> <a href='index.php'>Home</a><br> <a href='index.php?page=tutorials'>Tutorials</a> </td> <td width='80%'> <?php $page=$_GET['page']; if …

Member Avatar for hielo
0
114
Member Avatar for stranger_on_way

Hi everyone... I am creating a website like file drop box.... In that whenever a user registers, a directory is created for that user. I want to create a php script to set permissions on files, so that when a user wants he can share his file with other users …

Member Avatar for chrishea
0
140
Member Avatar for sedalnas

Hi, i could make my website downloading a pdf files but after downloading i get this error [B][I]" There was an error opening this document. the file is damaged and could not be repaired "[/I][/B] i think the problem is in the PDF version because this problem just occur when …

Member Avatar for chrishea
0
121
Member Avatar for marshal_ramdev

hi , I am working on testing some scripts .. But there are lots of errors i am facing .. the common error is Parse / syntax Parse error: syntax error, unexpected '(' .. This is the the line which is currently giving errors while executing . [CODE]md5("som3_admin",$username)()setcookie$password$_POST$username$_POST;[/CODE] plz help …

Member Avatar for marshal_ramdev
0
350
Member Avatar for Xufyan

php mysql simple form help whats wrong with my code ?? every time i refreh my page a new field is created in database 'example' i want my code to create new field in database only if something is insert in text field here is my code [CODE]<?php $name=$_POST['name']; mysql_connect("localhost", …

Member Avatar for Xufyan
0
149
Member Avatar for Shankye

Hi friends .. I have a mailing_list file .. I wanted to check whether the visitor entered Email already exists in file? Is there any standard function for it ?

Member Avatar for Shankye
0
161
Member Avatar for philmetz

For the following code I have a problem. When i fill in the form and submit it inserts a new database value. But when I refresh the page it does it again automatically with the same data, and keeps doing it whenever i refresh. How do i stop this? [CODE] …

Member Avatar for ErlendHL
0
3K
Member Avatar for mihirpatel83

Hello everyone, I am new to PHP to so please bear with me. I need suggestion to achieve a task. I have to make a form where in initially there will be a combox box. Depending onthe selection ie value1, value2, value3 etc.......a sub form should open below the combo …

Member Avatar for diafol
0
130
Member Avatar for zeeshan_kust

hello i have the following code to change the image name of upload picture [CODE] $TARGET_PATH="pics/"; $TARGET_PATH =$TARGET_PATH . basename( $_FILES['photo']).'.jpg'; while (file_exists($TARGET_PATH)) { $TARGET_PATH =$TARGET_PATH . basename( $_FILES['photo']) . uniqid() . '.jpg'; }[/CODE] This change the name of image or file but dont sho the extention it just show …

Member Avatar for hielo
0
78
Member Avatar for tcollins412

I have a login script that people use to register and login. I also have a contacts page where people can add contacts. Now how do i make it so the people that are logged in can add their own contacts that nobody else can see, only them when they …

Member Avatar for diafol
0
103
Member Avatar for Imratzio

Hi all :), at the moment im programming a drop down list of a petstore and going through chapters from the php my dummies book. I show you my example. [CODE]<?php // Program name: buildselect.php // Description: Program builds a selection list from databse require_once("config.php"); $query = "SELECT DISTINCT * …

Member Avatar for Imratzio
0
82
Member Avatar for DiamondCiara

Hi all, New here and hoping you can help me. Here's what I'm trying to do: I have a database table full of customers and their master records, with fields for their ID number, email, name, address, etc. I have another table for store credit, which contains only the customer …

Member Avatar for DiamondCiara
0
207
Member Avatar for xamonix

Hi I'm trying to modify a Shipping module for an online shop but I'm not getting it to work...I want to put two options on that, if customer chooses first option he gets one price for the shipment if he chooses second option then he gets a different price. The …

Member Avatar for diafol
0
926
Member Avatar for Ender330

Help!!! Ok I have been on this problem all day. Searching and Searching and just when I thought I had it...the script didn't work as it was supposed to. My URL looks like this: [CODE]http://mysite.com/joinform.php?Email=mymail@gmail.com&Username=newuser&Password=12345678 [/CODE] I need to parse the email, username and password from the url into the …

Member Avatar for Airshow
0
218
Member Avatar for jrock2004

Of so if I use this in a template on the index page I get what I want. If this code lives on a page.php page it shows me the recent pages created. [CODE] <?php $i = 1; while (have_posts() && $i < 6) : the_post(); ?> <li><a href="<?php the_permalink(); …

Member Avatar for Kraai
0
90
Member Avatar for samarudge

So I just got a new centOS box with PHP 5.1.something but I wanted it on PHP 5.2, initialy running [ICODE]yum update php[/ICODE] returned [CODE]php-pecl-memcache-2.2.6-1.el5.x86_64 from installed has depsolving problems --> Missing Dependency: php-zend-abi = 20050922 is needed by package php-pecl-memcache-2.2.6-1.el5.x86_64 (installed) Error: Missing Dependency: php-zend-abi = 20050922 is needed …

Member Avatar for Chanpan
0
243
Member Avatar for haribo83

I need to create an apache web server that can run Zend Optimizer 2.1.0 or higher. I have looked into a number of wamp products such as wampserver and xampp but as far as I can see neither of these are suitable for live sites. I did look at uniform …

Member Avatar for Chanpan
0
190
Member Avatar for conmen80

Hi all expert here, please refer to attached image, I had a table which mainly stored add-to-cart items, user might able to check what's item was in their cart and do remove or update item's quantity as like common cart we use for online shopping. I was able to loop …

Member Avatar for Shanti C
0
125
Member Avatar for rajesh1158

I have a php file, for example abc.php file whose output will be an image(profile pic) and below it a set of links(navigation links). When i click any of those links, it displays the output of destination file(output of file mentioned in "href" attribute of anchor tag). But i want …

Member Avatar for rajesh1158
0
129
Member Avatar for mrcniceguy

Guys i`m trying to archive something like facebook,twitter wall Display. I have a friend table,inside it has id,friendid and userid. also got feeds table which contains id,action,sender_id,statusid,status,date. What i have succeeded to do is if You are logged in you can see all the updates from your friends...As the code …

Member Avatar for madCoder
0
146
Member Avatar for t3chpr0digy

Hello, I've been racking my brain all week with this code. I'm displaying a help desk table, and I want the column headers to be clickable, which will ultimately sort the that column both ascending and descending. I'm sure I'm just missing a step or so, but cannot seem to …

Member Avatar for stevo356
0
117
Member Avatar for Jguillen

I recently wrote a code for a feedback form in Php, and I have the following problem: after submiting the form, what can i do to go back to the form page?

Member Avatar for stevo356
0
76
Member Avatar for alhindasi

i need help [CODE][24-Dec-2010 02:08:42] PHP Warning: Invalid argument supplied for foreach() in /home/xxxxxx/public_html/usercp.php on line 412 [24-Dec-2010 02:08:42] PHP Warning: Invalid argument supplied for foreach() in /home/xxxxxx/public_html/usercp.php on line 437 [24-Dec-2010 02:08:42] PHP Warning: Invalid argument supplied for foreach() in /home/xxxxxx/public_html/phpgraphlib.php on line 886 [24-Dec-2010 02:08:42] PHP Warning: Invalid …

Member Avatar for stevo356
0
103
Member Avatar for cjay175

I wasw ondering if someone could help me out with attaching multiple files to an email using uploadify and contact form. So far I have the file locations and names put into an array [CODE]<input type="hidden" name="file_name[]" value="/uploads/'+response+'" />[/CODE] How would I attach these files to an email through php. …

0
83
Member Avatar for rolfhorror

load array from file into variables for login ? I have an external file with some userpreference called userprefs.txt which contains values on several lines (array values). In another page I have this code below(part of it), trying to get the `$realUser` and `$realPass` values to be parsed from `$userPrefs[0]` …

Member Avatar for rolfhorror
0
131
Member Avatar for Electricfan

So here is my latest question team... The project I am working now the I needs to be modified.. Its a form with checkboxes on who you would like to send this message to... at first I thought it was fine just sending out with everyone on the "to:" list …

Member Avatar for Electricfan
0
604
Member Avatar for xuexue

hi guys..is there a problem with my code? because, i am trying to add a row dynamically depending on the user requirements, what the code does is that, whenever the image is clicked, only the textbox appears, what should happen is that the textbox should be inside the row.. [CODE] …

Member Avatar for itisnot_me
0
116
Member Avatar for Dragonbaki

Hi all... For more days, I am struggling with one damn concept.. I have created a sample mail sending code which supports to upload our resume and send it to some company person.. I have cleared many bugs and finally it works fine. But the problem is when i host …

Member Avatar for richieking
0
131

The End.