39,316 Topics

Member Avatar for
Member Avatar for samarudge

Hi, I have a PHP script that generates an image based on a font and text string to display custom fonts on my site. Overall the code works fine but there are a few little bugs; The image is clearly not high enough to display the full font correctly, part …

Member Avatar for Nyight
0
288
Member Avatar for joomphp

[CODE]Array ( [idx] => 1 [0] => Array ( [quantity] => 1 [product_id] => 2 [parent_id] => 2 [category_id] => 1 [description] => Adult:0; Senior:1; Child:2 ) )[/CODE] how can display "description"

Member Avatar for Nyight
0
90
Member Avatar for krilli

Hi everyone, please help me out on this if you can. I have a site where a user can select multiple checkbox values, banana, apple, orange, strawberry and raspberry. I would like the name of the Juice to be displayed if the fruit is contained in it. For example..if strawberry …

Member Avatar for Nyight
0
823
Member Avatar for dwlamb

I'm new to Classes. For a project to improve my skills I'm stuck. This project is a registration in which: [LIST=1] [*]form data is validated [*]some variable from the form are encrypted [*]some variables from the form are hashed [/LIST] It is getting the Class for hashing to load and …

Member Avatar for Triztian
0
2K
Member Avatar for mangel.murti

hi ,,, i am using fckeditor filemangar to ckeditor for uploading image file. it's working fine for me... i search in google for this but not understand.... my problem is that when i using my own path in \ckeditor\filemanager\connectors\php\confi.php it's not working... any help appre..... thnx

0
54
Member Avatar for lulemurfan

This is the part which searches and add the result to the 'pass' variable. At one stage I was getting a resource id number and found to get around that, but when I do this I get nothing on the pass variable [code] $result = mysql_query("SELECT `Pass` FROM `wiki` WHERE …

Member Avatar for Nyight
0
103
Member Avatar for hari.sarvothama

Hi, I have a $.ajax call in my jquery function. I want to access the value returned from the server(php) to be accessed in jquery function. Hoe to do this?? [code] setTimeout(function(){ $.ajax({ url: 'ajax-validation.php', data: 'email=' + $('#email').val(), dataType:'text', type: 'post', success: function (resp) { if(resp=="Email is available")/*This does …

Member Avatar for lambing
0
251
Member Avatar for ben.matthews18

Ok so I am able to create a user login system with data such as user ID, Username and a password. Here's the scenario - I add a field into the SQL table called 'Firstname' How do I retrieve the 'Firstname' of every user which relates to their user ID …

Member Avatar for diafol
0
117
Member Avatar for andrewliu

Hello, I'm following this script [url]http://evolt.org/PHP-Login-System-with-Admin-Features?from=2450&comments_per_page=50[/url] and it uses username to sign up. I was wondering if anyone can help me out in figuring out what to change in order for the user to input the username to email sign in. I know how to change the main.php where you …

Member Avatar for andrewliu
0
306
Member Avatar for RazorRamon

Hello, I am trying to Build a Form where the use clicks on check boxes and radio buttons. I want each to have a cash value to them and calculate the final price once the User clicks submit. I've read around the web and have tried changing the value in …

Member Avatar for RazorRamon
0
273
Member Avatar for jjemphoung

Good day! Can I run PHP(in WAMP) scripts without internet connection? Replies are really appreciated.

Member Avatar for hielo
0
706
Member Avatar for gtcoder

I've been trying to use the Eclipse IDE for php codes. I thought all I had to was to install some plug-in for it and that'll do. But it seems every time I need support for some new language I need to download a full >60MB Package for it. Is …

Member Avatar for Stefano Mtangoo
0
94
Member Avatar for OpenBSD

Hi, How To change My Url to user friendly using php and mysql ! any Example : i have this url for show user profile: view source print? 1 [url]http://mydomain.com/showuser.php?id=30[/url] //<- this link show user with id 30 change to friendly Url : view source print? 1 [url]http://mydomain.com/user/john[/url] //<- this …

Member Avatar for Stefano Mtangoo
0
68
Member Avatar for koldhands

Hi guys, My first post here after reading some very helpful responses over the last few months. I'm having trouble passing radio button values to a results page and wondered if anyone would be able to spot anything wrong with the following code? Any ideas are very much appreciated as …

Member Avatar for hari.sarvothama
0
169
Member Avatar for brown23

Hey again! :D I'm just wanting to know how I can stop other people included any type of file that's on my domain? All the php include files I use shall be CHMOD'd to 644 and/or 604 depending on the file, but I'm wanting to know how I can perhaps …

Member Avatar for brown23
0
146
Member Avatar for Smudly

Hi, I am having a pretty difficult time getting files to upload to my server that have a Single Quote in the file name. Example: myfile's.pdf I need to strip the file name of the quote before it uploads to the server. I currently am using SWFUpload and this is …

Member Avatar for hielo
0
90
Member Avatar for cwarn23

A week ago phpmyadmin was working fine but now whenever I try and access phpmyadmin, (in xampp localhost) it displays 2 error messages and nothing more. They are as follows: [CODE]phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username …

Member Avatar for steelluv
0
92
Member Avatar for sakush100

[CODE] <?php $x=$_POST[T1]; .... .... .... ?> <head> <script type="text/javascript"> function submitform() { document.comm.submit(); } </script> </head> <form method="POST" action="" name="comm"> <p><input type="text" name="T1" size="20"> <a href="javascript: submitform()"> Submit</a></p> </form>[/CODE] What i need is on clicking the submit link, the current popup or page should be closed. But it must …

Member Avatar for hielo
0
106
Member Avatar for JBLDW

I haven't found this in my search, but it is not something that is easily defined ...also I am not sure whether this is PHP or more Javascript, so my apologies if I have posted in the wrong place. Anyway, I have this PHP form: [code] <?php $app = $this->globals('khxc_display.app'); …

Member Avatar for JBLDW
0
104
Member Avatar for ello

Title should be 'PHP not working in Opera' Hey guys, I have some code which validates fine with the w3c validator, but still refuses to work in opera... Wondered if anyone could maybe tell wny this code works in every browser but opera? I'm stumped. [CODE] <?php if($_GET['act'] == "generate_quotes") …

Member Avatar for Sammaye
0
136
Member Avatar for turpentyne

I am frustrated to no end. I absolutely cannot find the solution to paginating a search result that pulls info from two tables. Everything seems fine at the start. I get a page with the correct number of results (2) and the correct number of page links on the bottom …

Member Avatar for hielo
0
117
Member Avatar for phpmember

Hi!!, I am a beginner in PHP , but I want a piece of code which I can use in my website to keep track of the no. of visitors (HIT COUNTER). Please help me.

Member Avatar for mastervaulttop
0
126
Member Avatar for tsteven

How do I format the links from a mysql query to show [U]click here[/U] on my webpage. $row['reviewlink'] (eg of reviewlink = [url]http://www.abc.com[/url]) I want this result to show in the html source code: <a href="http://www.abc.com" >click here</a> So the page shows [U]click here[/U] and links to [url]http://www.abc.com[/url] I want …

Member Avatar for tsteven
0
93
Member Avatar for lulemurfan

I've been trying for a few hours now, and to be honest I'm getting fed up of it not updating the table!!!:icon_sad: [CODE]$sql="UPDATE list SET title='$_POST[title]', console='$_POST[console]', system='$_POST[system]', tv='$_POST[tv]', sram='$_POST[sram]', chips='$_POST[chips]', size='$_POST[size]', md5='$_POST[md5]', sha1='$_POST[sha1]', work='$_POST[work]', error='$_POST[error]', retrode='$_POST[retrode]', comments='$_POST[comments]' WHERE ID='$_POST[id]'"; if (!mysql_query($sql,$con)) { die('Error: ' . mysql_error()); } echo "1 …

Member Avatar for hielo
0
165
Member Avatar for Clarkeez

Hey Im getting there with PHP but one thing that does my head in is arrays. Im trying to get all the content from the db and echo it.. For exmaple, in the db it reads under the 'names' column... matt harry dave katie trisha paul tracy brian martin sam …

Member Avatar for hielo
0
82
Member Avatar for cristi08

Hellow peoplw. I have an update syntax that is doing something else than I expect. I want to update a table with price of the products for a selected user the form is ok but when I click update the order update only the last price inserted.Why? [CODE]p> Here you …

Member Avatar for MooGeek
0
74
Member Avatar for lulemurfan

This is the part which searches and add the result to the 'pass' variable. At one stage I was getting a resource id number and found to get around that, but when I do this I get nothing on the pass variable [code] $result = mysql_query("SELECT `Pass` FROM `wiki` WHERE …

Member Avatar for lulemurfan
0
140
Member Avatar for mozan

Hi aLL I have got problen in uploading photo in profile. when i checked coding i found ! here is where i found this sign [B]// UPLOAD PHOTO if( $task == "upload" ) { $user->user_photo_upload("photo"); $is_error = $user->is_error; if( [COLOR="red"]![/COLOR]$is_error ) [/B] [B][B] // UPLOAD PHOTO if( $task == "upload" …

Member Avatar for jibon57
0
181
Member Avatar for vizz

I have sms gateway. Through that I can send sms from my website. How can I receive sms on my website. Every registered user can send sms from my website and I want to allow them to receive sms on my website.

Member Avatar for chrishea
0
234
Member Avatar for Stefano Mtangoo

Hello All, I want to make a CD/DVD Library where by an admin can do all the operations while any other norma user can do limited operations (simply browsing and searching). I'm still organizing and doing simple design and I need your opinions on this: 1. What is the best …

Member Avatar for Stefano Mtangoo
0
1K

The End.