39,320 Topics

Member Avatar for
Member Avatar for dhani09

I have a drop-down list, which contains a list of over 150 schools. Each school in this drop-down list is located in one of 30 states. What i'm trying to implement is this: If a user chooses a school from the "select" list, the text box below it would automatically …

Member Avatar for nadiam
0
273
Member Avatar for kevinyu

Hello guys, I need help about this, I have a PHP page, which searches for records, based on their first and last names, if sql finds the data then the second form comes out, which has lots of textboxes, to update the 'searched'information. And when I click the submit button …

Member Avatar for ryantroop
0
235
Member Avatar for georgeken

pls can anyone kindly explaint to me the basics of argument and parameter, just started php newly. tanks. george.

Member Avatar for diafol
0
61
Member Avatar for BTW8892

Hey guys, So I've been devloping a TV Guide website that will allow you to fill out a variety of different fields, then searches the database for that information, and returns the results. The way I have it right now, the user has to fill out all of the fields …

Member Avatar for BTW8892
0
265
Member Avatar for chaitu11
Member Avatar for Alonso_1

I have a 2 column SQL table as follows: **Product Price** Drill 20 Hammer 15 Screwdriver 5 Screws 2 Nuts 3 Bolts 6 I eventually want to embed a PHP array into a Google charts script. But first, how do I pass my SQL query into an array? My code …

Member Avatar for broj1
0
2K
Member Avatar for engrjd91

Hello everyone, I have 2 of my php pages. I am starting a session in my first page and setting the setting variables but whenever I am trying to access that variable in the 2nd page it doesn't show an error neither it pops out my desired result. In short …

Member Avatar for faisal.qureshi.7121614
0
304
Member Avatar for engrjd91

I have the following code in my php files, but i am having a following error while loading my page? "Notice: Undefined variable: username in C:\xampp\htdocs\fyp\cms\cms.php on line 48" My page is successfully loading up, but username is not being shown in the page and the error is popped up …

Member Avatar for faisal.qureshi.7121614
0
595
Member Avatar for Motifaithed

Good Day, Does anyone here knows how to setup smtp via localhost? I'm using gmail and wamp, I want to test the mailing function first before uploading it to the web, but still no luck. Thanks for the help guys..

Member Avatar for pritaeas
0
84
Member Avatar for confstu

0 down vote favorite I want to ask all of you for some help since i'm still new to web programming. So basically i have html table like this, <table width='200' border='1'> <TH>Year 1 Spring</TH> <TR> <TD> <div id="y1f_0">one</div> <div id="y1f_1">one</div> </TD> <TD> <div id="y1s_0">two</div> <div id="y1s_1">two</div> </TD> </TR> </table> …

Member Avatar for dnyaneshk2
0
2K
Member Avatar for engrjd91

I have the following code, and i am having these errors: "Warning: mysql_fetch_array() expects parameter 1 to be resource, integer given in C:\xampp\htdocs\fyp\qmc-login\login.php on line 58 Warning: mysql_fetch_array() expects parameter 1 to be resource, integer given in C:\xampp\htdocs\fyp\qmc-login\login.php on line 59" Can somebuddy find out whats the problem? Thanks in …

Member Avatar for eburlea
0
346
Member Avatar for fireburner29

Hi there, Can anyone tell me how to integrate the google place search api in website.?

Member Avatar for almostbob
0
97
Member Avatar for patk570

Hello, I am working on some code that does a remote call to a licensing server to validate whether the license is valid, invalid, expired and suspended. I have a login code that is using prepared statements: function login($email, $password, $mysqli) { // Using prepared statements means that SQL injection …

Member Avatar for jstfsklh211
0
270
Member Avatar for malatamil

value is Tourism & Hotels url?catagory=Tourism%20&%20Hotels&maincateg=Tourism%20&%20Hotels if i call that catagory to another page $category = $_GET['catagory']; and in second page i displayed that value echo $category; but this showing only Tourism and the remaining words r gone.i want to display Tourism & Hotels with special char

Member Avatar for malatamil
0
176
Member Avatar for kshahnazari

I'm just learning jquery , The thing is that how can I make jquery and php contact each other in one single page ? if there is an example I really appreciate it!

Member Avatar for Patrick Thomas
0
390
Member Avatar for dinhunzvi
Member Avatar for cereal
0
100
Member Avatar for Mike Bishop

can anyone help me with the code below, I would like to strip out comas from the URL http://www.balmanltd.co.uk/products/steering/ball-joints/ball-joint,-drag-link-end/am1148 $str = trim($str);/*remove any unwanted outer spacing*/ $urlkey = preg_replace("/[^0-9a-zA-Z]+/","-",strtolower($str)); $htmlkey = ($htmlext) ? $urlkey.".html" : ""; return array($urlkey,$htmlkey);

Member Avatar for diafol
0
158
Member Avatar for sukhdev.singh

Hi this is Sukhdev, I am new in php and wish to know how to import the data from excel sheet to mysql Table; 1. I have a table with the name of city in mysql with following fields; city_id,city_name,tier_id,tier_name,state_id,state_name 2. what would be the function for uploading above fields, …

Member Avatar for chrishea
0
327
Member Avatar for thunder234

I have the following code for a login page that is supposed to display an error when the user enters the wrong username and password combination. can anyone have a look at the code and tell me why it isnt displaying the error message when its supposed to. Here is …

Member Avatar for Zagga
0
298
Member Avatar for samertaha

hi , i am searching for a good tree menu design for products categories to use it in my website , i need it to be flexible so i could style it as needed and also simple so i can target it with my own javascript. thanks again.

Member Avatar for samertaha
0
214
Member Avatar for ElegantElephant
Member Avatar for Bharane_1
0
232
Member Avatar for malatamil

i have coding like this. its working fine but in another page i want to display only the rating image.below i added my page links. in searchdetails.php page i want to update the rating and display and in searchbycat.php file i want to display only the rating image only without …

0
123
Member Avatar for kindo

If u visit https://tweetdeck.twitter.com/ and you login, u will see the left sidebar with a textbox. The textbox can post new tweet, can also send direct message ans at the same time also reply to a tweet. How can I achive this in jquery. Thanks

0
115
Member Avatar for malatamil

i have a dropdown box and i already upload the value from dropdown selection to database. after uploading i want to cange the dropdown value how should i do,please help me. thanks in advance

Member Avatar for malatamil
0
129
Member Avatar for Silas_1

I have 1 or actually 2 problems. I have 2 sites, the first one generates a table with avatar, coins, and name (which links to a more detailed view like this `/stats/user/?name=<dynamic name>`. It looks like this: <table> <thead> <tr> <th>#</th> <th>Points</th> <th>Name</th> </tr> </thead> <tbody> <?php error_reporting(E_ALL); define ( …

Member Avatar for diafol
0
328
Member Avatar for Alonso_1

Hey there. I'm trying to retrieve a date from an SQL table. The original formate of the date is as follows: 0000-00-00 00:00:00 I want to try and change the format into: Month Date, Year e.g. May 17, 2014 <?php $page_title = 'View the current users'; include('header.inc'); require_once('mysql_connect.php'); try{ $query …

Member Avatar for Alonso_1
0
209
Member Avatar for Bin_2

i am trying to command mysql to sum until it reaches certain value from my table 'purchase', for each 'sid' starting from the last row, i need sum of 'pqty' until the result equals a value from string (but to try i've given a certain value). let me define with …

Member Avatar for Bin_2
0
117
Member Avatar for iamthwee

foreach ($query->result() as $row) { echo anchor("forum/topic/$row->topicid", my_html_escape(($row->name)), 'attributs'); echo ' by '; echo $this->Stuff->get_topic_author($row->topicid); echo ' replies '; echo $this->Stuff->get_replies($row->topicid); echo ' Last post '; echo $this->Stuff->get_topic_last_post($row->topicid); echo br(); } How do I conveniently pass that to my view. Calling a model function within the original query->result has perplexed …

Member Avatar for leap_coder
0
2K
Member Avatar for sigitas.darguzas

<?php $faces = array ('4', '1', '2', '3', '6', '5'); $payouts = array ( '1|1|1' => '0,01', '2|2|2' => '0,02', '3|3|3' => '0,03', '4|4|4' => '0,05', '5|5|5' => '0,07', '6|6|6' => '0,10', ); $wheel1 = array(); foreach ($faces as $face) { $wheel1[] = $face; } $wheel2 = array_reverse($wheel1); $wheel3 = …

Member Avatar for Tpojka
0
164
Member Avatar for malatamil

i know to upload normal type of multiple image.bt here my code is like to upload multiple images with rename image as date and time. but the problem is while uploading multiple image its added only one image.how can i add multiple image by using this code $num4 = count($_FILES['mainimage']['name']); …

Member Avatar for iamthwee
0
250

The End.