38,020 Topics

Member Avatar for
Member Avatar for dhruv_arora

Hey, I am new to PHP and I wrote this it supposed to validate the from and add the errors to an array variable (which will be showed on later), I am having problems on line 41, when I run the script it says [B]Parse error: syntax error, unexpected '{' …

Member Avatar for dhruv_arora
0
78
Member Avatar for dyingatmidnight

I'm finding that my session variable isn't following through from script to script. I'm creating a library database for school and I want the administrator to be able to open user accounts and view the details. This works fine. I then set the account number as a session variable for …

Member Avatar for dyingatmidnight
0
524
Member Avatar for aithabuddy

Hi, Can any one helps me in the apache redirecion of 'http://www.xyz.com/abc/function.mysql-select-db/dfg' to 'http://www.xyz.com/abc/dfg', and 'http://www.xyz.com/abc/function.mysql-connect/dfg' to 'http://www.xyz.com/abc/dfg'. I want a single rule for the both redirections. Thanks in advance.

Member Avatar for twiss
0
52
Member Avatar for mahmudfaisal

[U][B]suppose i have a page like:[/B] [/U] ----------------- name | id | --------------- mark | 0253 edit ------------------- jack | 205 | edit ---------------- [U [B]when i am in edit form of this page:[/B][/U] name : mark id : 0253 school : Divine international ---------- Things ---------- stick (edit) (del) …

Member Avatar for vibhaJ
0
143
Member Avatar for iamthwee

Just like java applets seem to have had their day... is flash going the same way (no support on the ipad?) Is this a concern for designers who use flash. I use flash actionscript 3.0 occasionally. What are your thoughts?

Member Avatar for diafol
0
146
Member Avatar for bangla

Hi, Below code Insert fine but after insert, i like to see a message "insert passed" or "insert failed" if failed. I think i need to have if else statement. not sure how to do that. thanks. --------- <? mysql_connect("host",$username,$password); @mysql_select_db($database) or die( "Unable to select database"); $query = "INSERT …

Member Avatar for charlybones
0
91
Member Avatar for destroyerx15

hi im working with two form the first form is to insert cheek box into db so the first code i write like this : [CODE]mysql_select_db("project", $con); if(count($orders)>0) { foreach($orders as $key=>$order) { $query="INSERT INTO orders (ORDER_DESC) VALUES ('".$order."' )"; mysql_query($query) or die ('Error Updating the Database' . mysql_errno()); } …

Member Avatar for madCoder
0
90
Member Avatar for didi00

Hi everyone. Hopefully this will be the last thing that I need to do to my shopping cart. Basically I have a product details and it gives me the actual picture in its actual size. In order to look more neat, I want to make the pictures to be like …

Member Avatar for didi00
0
282
Member Avatar for Jaklins

My php code for upload is supposed to filter out images with file extentions different than the ones below and bigger than 5 Mb. It's a normal post fileField form in html that runs this php script. It works like a charm on Firefox and Chrome, but for some reason …

Member Avatar for Jaklins
0
698
Member Avatar for haimz

Hello i'm working on forum, and the topics content sometimes got images thats bigger then forum warper i need to reduce them by PHP lets say that the content is $row['content']; please help .

Member Avatar for ko ko
0
104
Member Avatar for IWDesigns

hi guys, i hope this is the right place, ive been offered to write somethin to allow credit card payments on a website, but ive never worked with cc before. i have made gateways for paypal and moneybookers before but i think theres a lot more to it for credit …

Member Avatar for twiss
0
121
Member Avatar for branding4you

I want to keep what the user selected so when he clicks back and goes to my search the values are still there, have three listboxes. Country, State, City Country Listbox [CODE] <select name="country" id="country" onChange="filter_state();"> <?php echo "<option selected>" . $_POST['country']; "</option>"; $sql = "SELECT * FROM tbl_country"; $result …

Member Avatar for IIM
0
137
Member Avatar for sainigks

Hi, i want to make a script which manage registered user. so for that i need to include files in php. it is simple to include any file by include function . but i want to include a file by class in php. Please tell me how can i do …

Member Avatar for blocblue
0
107
Member Avatar for newbie14

Dear All, Here is my link [url]http://183.78.169.53/scv/a2.php[/url]. You can just fill a text value into the A1 input box. Then just select the vehicle drop down list and will see a master list filled via ajax. Just pick any master list and submit the form. You will notice the masterID …

Member Avatar for ko ko
0
97
Member Avatar for baig772

i m creating a new row onclick containing 3 drop downs in it, if i add 3 rows drop downs are shown but thier names are same, how can i change the name of every drop down in each row so that it can be handled on php page? any …

Member Avatar for diafol
0
93
Member Avatar for wiredtec

Were and or how can i get an iframe for my site? and how do i add it to all my outgoing links.

Member Avatar for almostbob
0
94
Member Avatar for IROC_69

hello i am all new to web designing si i need a little bit of help i want to these kind of thing on my page [CODE] <a href="http://s934.photobucket.com/albums/ad182/junaid69/?action=view&amp;current=Untitled-3.jpg" target="_blank"><img src="http://i934.photobucket.com/albums/ad182/junaid69/Untitled-3.jpg" border="0" alt="Photobucket"></a>[/CODE] and this [CODE] <a href="http://s934.photobucket.com/albums/ad182/junaid69/?action=view&amp;current=Untitled-3-1.jpg" target="_blank"><img src="http://i934.photobucket.com/albums/ad182/junaid69/Untitled-3-1.jpg" border="0" alt="Photobucket"></a>[/CODE] u can see these in action on [url]www.ign.com[/url] …

Member Avatar for twiss
-1
106
Member Avatar for iamthwee

Does anyone know of any good links to in-depth tutorials on Wordpress customization. Obviously there is google but I wondered if anyone else had any better links. Cheers.

0
71
Member Avatar for iamthwee

Seems like more websites (particularly aesthetic ones) use web font embedding. Google, appears to be serving these fonts. What are your thoughts on using them? [url]http://www.google.com/webfonts[/url]

Member Avatar for iamthwee
0
144
Member Avatar for mangel.murti

hi all, this function working fine but when click on pagination number on webpage previous number is not disable any help appre.. [CODE]function show_paging($recordset_name=""){ if($recordset_name==""){ exit; }else{ $Prev_Link = ""; $Next_Link = ""; $Page_Link = ""; $Query_String = ""; $Post_Vars = ""; $TotalPages = $this->RESULTS[$recordset_name]['total_pages']; $Current_Page = $this->getCurrentPageName(); //echo $Current_Page; …

Member Avatar for mangel.murti
0
112
Member Avatar for daza166

Hi guys, Having a problem with users uploading photos onto my site. They can upload 6 images under 5MB. The memory setting is set to 128M in my php.ini and I doubled checked by phpinfo() [CODE]upload_max_filesize = 30M ;5MBlimit*6images=30MB post_max_size = 30M max_execution_time = 120 max_file_uploads = 7 memory_limit=128M[/CODE] However …

Member Avatar for digital-ether
0
18K
Member Avatar for srdva59

hi, i looking for a xml class that can handle for cdata and special caracters like ã á ç any one know something like that? thanks a lot for your help :)

Member Avatar for digital-ether
0
78
Member Avatar for iau

I wish it show as unfulfilled:bb,cc extra provided:dd as my conditions and provided strings will be unconstant, anyone can suggest me some ways to do it?

Member Avatar for diafol
0
233
Member Avatar for tstory28

I am getting confused by PHP at this point. I am trying to make a membership site but need a way to protect all my pages from unauthenticated access. Can someone steer me how to do this through PHP? I already have the database that does create accounts but once …

Member Avatar for diafol
0
114
Member Avatar for projecttoday

I would like to know if there is any way you can go to any web site on your computer and know what it was developed in, like PHP or ASP.Net or Ruby or whatever, just from going into the sight. If not, are there clues that might point in …

Member Avatar for digital-ether
0
91
Member Avatar for haimz

hello evryone, i'm changin the url by [CODE]RewriteEngine on RewriteRule ^forum-(.*).html$ ./forum.php?id=$1[/CODE] now if the url is forum.php?id=231, how can i auto change the url to forum-231.html thanks, haim .

Member Avatar for haimz
0
367
Member Avatar for Riteman

I know that php is same like HTML. I have the codings. But wondering how to execute it...? I use Dreamweaver but in vain.. i get no result.. some body pls help me.. It asks me to set a server for it. Though i set, no result obtained...!

Member Avatar for diafol
0
144
Member Avatar for facarroll

I have two related scripts. The first script displays a pass or fail icon depending on whether the value of passState is 1 or 0. If a student failed a quiz the row also displays a link to check.php so that the student can view their quiz attempt in a …

Member Avatar for facarroll
0
128
Member Avatar for didi00

Hi everyone. So I have a shopping cart which has a product details. The thing is, the photo is taken from the database but it is just a plain photo. I want to make it more pretty, so I want to add the prettyphoto script to it. Basically I have …

Member Avatar for didi00
0
86
Member Avatar for shyam2011

<?php // Inialize session session_start(); include('config.inc'); // Check, if username session is NOT set then this page will jump to login page if (!isset($_SESSION['username'])) { header('Location: index.php'); } ?> <html> <head> <title>Secured Page</title> </head> <body> <?php $result = mysql_query("SELECT user.password, data1.dob FROM user INNER JOIN data1 ON user.username = data1.username …

Member Avatar for vibhaJ
-1
1K

The End.