39,316 Topics

Member Avatar for
Member Avatar for shrikant12
Member Avatar for zeeshan_kust

hi everyone i am having a problem in my mysql class to retrieve the stored data in database. i want to retrieve data in view class calling controller class and then model class for select query. plz help me the code is bellow. call from view to controller in line …

0
62
Member Avatar for n3red

Anyways i have a gourp that i created called Wholesale and anotherone called VIP. So when user registers as wholesale he gets to see prices of products and when he is moved by admin to vip customer group he gets to see special category i managed to do that as …

0
65
Member Avatar for nextdate

[CODE]if ($_POST['req_cash'] == 'requested' && $_POST['submit'] == ' Request Cashout ' && is_numeric($_POST['amount']) && $_POST['amount'] >= $min_cashout && $_POST['amount'] <= $roi_cash) {[/CODE] What is WRONG! Thank you!!

Member Avatar for vibhaJ
0
263
Member Avatar for Smudly

When I upload new files, their file name is stored into my database. I have been told that a couple of the file downloads weren't working. Upon further investigation I figured out that the file the person wanted to download was nowhere to be seen in my downloads directory. How …

Member Avatar for P0lT10n
0
72
Member Avatar for keok
Member Avatar for h0neydip

I can't seem to figure out why it keeps showing me this error,where am i doing wrong?, can someone help me please [CODE] <?php include_once "cinc/Tbox.php"; # include the class file for textbox validation // BEGIN PROCESSING HERE // this version uses POST so we will see the data in …

Member Avatar for =OTS=G-Man
0
182
Member Avatar for danswater

Hi! can someone help me to figure out with this code? [CODE=php] <form method="POST" action="insert.php"> <input type="checkbox" name="id[]" value="32">Article #32<br> <input type="checkbox" name="id[]" value="38">Article #38<br> <input type="checkbox" name="id[]" value="45">Article #45<br> <input type="checkbox" name="id[]" value="59">Article #59<br> <input type="hidden" name="referer" value="123"> <!-- This is the ID of the "referring" article --> <input …

Member Avatar for danswater
0
131
Member Avatar for Viruthagiri

Hello friends, I have a table called rates. It contains the following [QUOTE]id membership_id title desc amount term term_c automaic[/QUOTE] It has the following values [QUOTE] 9 4 Shipping & handling Only for subscribed members 9.95 0 D 0 8 4 LifeTime Subscription LifeTime Supply 79 1 Y 1[/QUOTE] To …

Member Avatar for quibbie
0
93
Member Avatar for quibbie

I want to allow people on my site to post html inks in the text box where they submit their articles. Here is the code for the text box: [CODE] <td width="75%" align="left" class="heading"> <textarea cols=75 name=article_summary rows=25 class=textarea style="overflow:hidden;"><?=$_POST["article_summary"];?></textarea> </td> </tr> <tr> <td colspan=2 bgcolor=white></td> </tr> <tr> <td colspan=2 …

Member Avatar for quibbie
0
159
Member Avatar for akvlko

Hi Friends Currently I'm Developing a CMS in which I used JQuery for validation of form. In the State and City I have used Ajax to Fill the States after selecting the Country. All other validation are working fine but the validation I applied on the State field is not …

Member Avatar for hongle
0
183
Member Avatar for davecoventry

What I have is a list of file paths: dir0/file0.txt dir0/dir1/filea.txt dir0/file1.txt dir0/dir1/fileb.txt dir0/dir1/dir1/filec.txt dir0/file2.txt What I'd like to get is something like the following: [code] $paths=Array( file0.txt=>file0.txt, dir1=>Array( filea.txt=>filea.txt, fileb.txt=>fileb.txt, dir1=>Array( filec.txt=>filec.txt ) ), file1.txt=>file1.txt, file2.txt=>file2.txt ); [/code] It strikes me that this must be a fairly common requirement …

Member Avatar for diafol
0
2K
Member Avatar for The5sisters

Although my server has php memory allocation of 64MB I get [QUOTE]Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 311296 bytes) in /home/kasey/public_html/Create/wp-includes/class-simplepie.php on line 4186 [/QUOTE] in my dashboard for WP/buddypress combination blog. I re-installed buddypress.WP won't allow a re-install despite the fact that it …

Member Avatar for The5sisters
0
152
Member Avatar for dschuett

I have a form that users fill out to send denial letters to customers. I have been struggling to figure out how to pass CHECKED checkboxes from a form to be passed to the $mail_body of the email. Here is what i'm working with: [CODE] <?php require_once "formvalidator.php"; $error_hash = …

Member Avatar for guyinpv
0
107
Member Avatar for jonasjo

I have error in tis code.any help will b appreciable.tanks in advance. if(isset($_POST['btnsave'])) { for($i=0;$i<count($_POST);$i++) { if(!empty($_POST["hdntxtRow".$i])) { echo $_POST["hdntxtRow".$i]."<br />"; } } $question=$_POST['txtquestion']; $choice1=$_POST['txtchoice1']; $choice2=$_POST['txtchoice2']; $choice3=$_POST['txtchoice3']; $choice4=$_POST['hdntxtrow1']; $choice5=$_POST['hdntxtrow2']; $answer=$_POST['txtanswer']; $a=mysql_query("INSERT INTO question(questions,choice1,choice2,choice3,choice4,choice5,answer) VALUES('$question','$choice1','$choice2','$choice3','$choice4','$choice5','$answer')"); } ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <TITLE> New Document </TITLE> <META …

Member Avatar for ko ko
0
174
Member Avatar for paresh5221

Hello Everybody Specially for php How can i extract hyperlink URL from exel sheet I want to know How can i extract hyperlink URL from exel sheet cells.

Member Avatar for chrishea
0
31
Member Avatar for programmer12

Hello, Im trying to show my images with a limit of 2 but the while loop show the codes correctly in the source on the browser but the items are not showing on the web page.. How can i fix this issues... HERE is the codes [CODE] <!DOCTYPE html PUBLIC …

Member Avatar for programmer12
0
83
Member Avatar for miss_indie

Gudeve. sorry for posting again. i was making a simple quiz machine with PHP and a bit of database, i made this code. [CODE]<form action="record.php" method="POST"> <tr> <td><b>Your score is: </b> <br /><input type="text" disabled="disabled" name="score" value="$total"></td> </tr> <tr> <td><b>Date: </b> <br /><input type="text" name="date"></td> <td><b>Student Id: </b> <br /><input …

Member Avatar for sudeepjd
0
101
Member Avatar for ceeandcee

Good Morning, I am writing code for a Hockey Pool site and I am working on the Standings page...typical divisional standings page. My code runs through a loop for the four teams in each division and yields results for each team and outputs fine. Here is my problem...I want to …

Member Avatar for ceeandcee
0
99
Member Avatar for fatpages

Hi All, can anyone suggest the e-commerce engine which is well adopted to sell virtual content (e.g. downloadable content, subscriptions, promo codes)? I tried Virtuemart for Joomla and Ubercart for Drupal, but they both are really limited and don't provide the "off the shelf" flexibility for virtual goods.

Member Avatar for dennishall
0
132
Member Avatar for Aydot22

I need a PHP expression to validate a field value against a list predefined in mysql database So that anything different from that in the database will not be submitted to the database. Looking forward to your assistance.

Member Avatar for sudeepjd
-1
107
Member Avatar for php4ever

I absolutely hate it when I trust a person and never collect a deposit on work only to NOT be paid when I'm done. I recently designed a flash page turn effect that is all XML controlled for a Realtor where the agents could simply upload the images to a …

Member Avatar for dennishall
0
148
Member Avatar for Agent Cosmic

I want to build a large scale web application but I'm torn between the three. The main points I'm looking for are productivity, speed, hosting, community, scalability, learning resources and technology (AJAX, database, threading, MVC etc). Here are my impressions of them: [B]PHP:[/B] de facto for web development, big community, …

Member Avatar for nonshatter
0
68
Member Avatar for lulatam

hi, im tring to make a form with checkbox and i used Selection: " . implode(',', $checkbox ) . "\n im reciving the data tomy mail, but when there is nothing checked im getting this error: implode() [function.implode]: Invalid arguments passed in .... what script can i add thatwhen nothing …

Member Avatar for chintan@dani
0
57
Member Avatar for ibshas25

i have set up users table and succesfully done all the inserts but i want give acess to users based on there roles. how can i do this???

Member Avatar for Stefano Mtangoo
0
81
Member Avatar for niths

hi all, In my page i had a dropdown with some values. so when i select others in dropdown i need a textbox to display under that select option. can anyone help me.... Thank u.. i tried this code but this is not working.... [CODE] <head> <SCRIPT LANGUAGE="JavaScript"> function activate(field) …

Member Avatar for sudeepjd
0
125
Member Avatar for DonaldAlexander

Does anyone know of any PHP and MySQL code that will help me out? I'm looking to translate my website but without the use of Google, Yahoo, Bing and so on, but would like to try drive the website through a database. The idea was to have friends from around …

Member Avatar for pritaeas
0
446
Member Avatar for rajiv_ask

i wanted to make a website serach which can search inside my website... pls help me in this

Member Avatar for DonaldAlexander
0
60
Member Avatar for captain.don

I have a small website,I have created html page having form in it.the form contains 3 text boxes that is.. name,email,comment.I need an e-mail script that can submit this form fields to my gmail or yahoo account.I have tried lots of script on internet but they are not working.Can anyone …

Member Avatar for DonaldAlexander
0
126
Member Avatar for keok

Coding as below havinf error, help me please; echo"<input type='submit' name='submit' value='DELETE' "onclick="return confirm('Are you sure you want to delete?')">;

Member Avatar for keok
0
96

The End.