17,029 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for OsaMasw

hey guys how are you, I want to create a function ( or more than function ) to show most uploaded users in the site, so I've created simpple code to test this and its worked <?php $sql = "SELECT username FROM users"; $run = mysql_query($sql); if (mysql_num_rows($run) > 0 …

Web Development php
Member Avatar for OsaMasw
-1
174
Member Avatar for davidjennings

Hi Good evening all I am trying to capture the below multi dimensional array using either POST or GET. the data is passed from a form and is displayed in the array format using print_r(GET); The packagecount = 2 indicates the mumber of packages and also corresponds to 1 and …

Web Development first-post php
Member Avatar for paulkd
0
228
Member Avatar for AARTI SHRIVAS

<?php //global $wpdb; /* Plugin Name:new plugin Description: A simple hello world wordpress plugin Version: 1.0 Author: arti shrivas Author URI: http://yourdomain.com License: GPL */ /* This calls hello_world() function when wordpress initializes.*/ //Note that the hello_world doesnt have brackets. add_action('init','new_plugin'); function new_plugin() { //echo "Hello World"; global $wpdb; $table_name …

Web Development php wordpress
Member Avatar for AARTI SHRIVAS
0
288
Member Avatar for joshl_1995

Hello Community, I was wondering if there is a way to set a multiple level subdomain? eg. sub.sub.domain.com FYI: my web host is with GoDaddy.

Web Development
Member Avatar for joshl_1995
0
259
Member Avatar for bfitzgerald

Hi Guys I'm trying to create a page which uses session data to find a user in a database and then sends the events that this user has signed up to. I'm a bit of a newbie and have got very confused with where I am at. I am using …

Web Development php session
Member Avatar for bfitzgerald
0
296
Member Avatar for PF2G

Hi, I have this popup with a Login Form (and a register form comment): div id="login" style="float:right; width:15%; padding-top:3px;"> <a href="#" class="topopup">LOGIN | REGISTAR</a> <div id="toPopup"> <div class="close"></div> <div id="popup_content"> <!--your content start--> <h2>Login</h2> <form id="login"> <table cellpadding="3" cellspacing="2"> <tr> <td> Username: </td> <td> <input type="text" name="username" id="username" /> </td> …

Web Development javascript javascript-jquery
Member Avatar for JorgeM
0
173
Member Avatar for Nirmeen Ased

<td width="186" align="right"><label for="collegetxt"></label> <select name="collegecategory" dir="rtl" id="collegecategory" class="title"> <option value="-1">Choose college</option> <?php $rs=$db->GetAllCollegCategory(); while(list($name)=mysql_fetch_array($rs)){ echo "<option ".($collegSearch==$name?" selected=selected ":"")." value='$name'>$name</option>"; } ?> </select> </td> </tr> <tr> <td> <strong>Teacher Number:</strong></td> <td width="217" align="right"><label for="Teachesearch"></label> <label for="TeacherNo"></label> <input type="text" name="TeacherNo" id="TeacherNo" class="title" checked="checked"/></td> <input type="submit" name="evlBtn1" id="evlBtn1" value="Evaluate" style="width:119px;height:39px;font-size:16px;" /> Hi, …

Web Development php
Member Avatar for Zagga
0
362
Member Avatar for SQLpower

Hello guys, Long story short, when I register a user on my website, it enters for every single column value 0. It should be due to the fact that's not picking up the data from my registration page? Although, it should be ok as I am only picking up the …

Web Development html-css mysql php session
Member Avatar for SQLpower
0
196
Member Avatar for serkan sendur

I had a background image for one of the container divs in my page. I positioned it to a specific pixel using its style properties. It worked fine in the internet explorer but was located to a wrong position when displayed by firefox. So i wrote the following code to …

Web Development javascript
Member Avatar for malithmcr
0
472
Member Avatar for SureEM25

So i have created this code that is grabing info from a server, the string that it is giving me has these specail charecters that i need to get rid of, then I need to exploade it by another. Here is my code: function fetch_server_info($ip, $port){ $socket = @fsockopen($ip, $port, …

Web Development php
Member Avatar for SureEM25
0
167
Member Avatar for showman13

I have been searching for the past several hours to find a way to rotate through 4-5 different graphics in the header of a web page that I am creating, but have had very little useful help. There seems to be countless jquery slider scripts out there, but even after …

Web Development php
Member Avatar for showman13
0
566
Member Avatar for rayidi

I'm dealing with a SOAP client response for a flight booking application, I successfully got the response, See the response below: <arzoo__response> <Response__Depart> <OriginDestinationOptions> <OriginDestinationOption> <FareDetails> <ChargeableFares> <ActualBaseFare>4850</ActualBaseFare> <Tax>4267</Tax> <STax>31</STax> <SCharge>0</SCharge> <TDiscount>0</TDiscount> <TPartnerCommission>0</TPartnerCommission> </ChargeableFares> <NonchargeableFares> <TCharge>0</TCharge> <TMarkup>0</TMarkup> <TSdiscount>0</TSdiscount> </NonchargeableFares> </FareDetails> <FlightSegments> <FlightSegment> <AirEquipType>321</AirEquipType> <ArrivalAirportCode>DEL</ArrivalAirportCode> <ArrivalDateTime>2013-05-20T08:00:00</ArrivalDateTime> <DepartureAirportCode>BOM</DepartureAirportCode> <DepartureDateTime>2013-05-20T06:00:00</DepartureDateTime> <FlightNumber>601</FlightNumber> <OperatingAirlineCode>AI</OperatingAirlineCode> <OperatingAirlineFlightNumber>601</OperatingAirlineFlightNumber> …

Web Development api php programming-construct xml
Member Avatar for diafol
0
8K
Member Avatar for sismaster2010

wpml plugin not working for some labels on front end please help http://174.120.60.2/~prime/?property=apartment&lang=ar see this link on this bedroom bathroom and property type not translated please helpo me guys i am using wpml plugin

Web Development php wordpress
Member Avatar for diafol
0
125
Member Avatar for piers

Hi, I have been trying to use AJAX with JQuery in a feedback page I am trying to build. I can get the feedback submitted without going to a new page, but currently I can only see the feedback updated when I refresh the page. I called the feedbackdisplay.php file …

Member Avatar for piers
0
110
Member Avatar for lhsunshine

I am using somee.com free hosting. However, my web site cannot read the style sheet. But it can display well in localhost.... HELP. Thank you...

Web Development asp.net
Member Avatar for jackmia404
0
107
Member Avatar for rayidi

I'm curremtly working on a project "Flight search" with SOAP and PHP. I'm new to this SOAP Technology. I've to send the XML over POST Request and get the response: <Request> <Origin>BOM</Origin> <Destination>DEL</Destination> <DepartDate>2013-05-20</DepartDate> <ReturnDate>2013-05-21</ReturnDate> <AdultPax>1</AdultPax> <ChildPax>0</ChildPax> <InfantPax>0</InfantPax> <Currency>INR</Currency> <Clientid>*********</Clientid> <Clientpassword>**************************</Clientpassword> <Clienttype>ArzooFWS1.1</Clienttype> <Preferredclass>E</Preferredclass> <mode>ONE</mode> <PreferredAirline>AI</PreferredAirline> </Request> to the URL: > …

Web Development api php xml
Member Avatar for rayidi
0
3K
Member Avatar for mbarandao

Hello: I need some assistance with the following script configuration. The goal is to run a cronjob with my initial script which would run a mysql query and pull some account ids, it then would create an array of those values and through a for() loop execute a second script …

Web Development php queue
Member Avatar for diafol
0
2K
Member Avatar for carebear23

I keep getting the following error and cant seem to figure out where I'm going wrong with the code and have tried changing it but just seem to make is worse wonder could someone please help me, the code i am using is as follows: [CODE] this is the code …

Member Avatar for diafol
0
17K
Member Avatar for tshukela.george

Hi there I've uploaded a file to the server online and I can even see the file i uploaded but the problem is that I get "page no found" error when i try to open that file on my url, when I try to edit the file(online on the server) …

Web Development file-system php
Member Avatar for tshukela.george
0
73
Member Avatar for cheelo007

I am unable to maintain a GET variable with this pagination script. Was hoping you all could help. I am using a GET function so the user can choose which categories are displayed. I'm using a pagination script I found online and I am now confronted with this issue, when …

Web Development mysql php ui-ux
Member Avatar for cheelo007
0
590
Member Avatar for geneh23

Hey Everyone, I previously had an issue with a date display format. I have a different question that deals with displaying singular or plural words using a version of an if statement that displays an "s" or displays nothing based on how many comments there are in a specific blog …

Web Development php
Member Avatar for geneh23
0
459
Member Avatar for while(!success)

Hey guys, I am trying to dynamically parametize my url, but it gets lost and I have no idea why. Perhaps some insight from you guys will help. Here's the code: while($row = mysql_fetch_assoc($getID)) { echo "<tr>"; echo "<td><a href='View.php?id='" . $row['ID'] . "'>" . $row['ID'] . "</a>" . "<br …

Web Development php
Member Avatar for while(!success)
0
403
Member Avatar for turpentyne

This seems like a simple one, but I must be missing something? I want the page to slide down into view when the document loads. I thought I could do it by just wrapping the content in a div positioned off the page, and bring it down. But nothing happens? …

Web Development html-css javascript
Member Avatar for code_rum
0
181
Member Avatar for GlenRogers

Hi, I need help! Im updating a div with groups of images using jquery ajax. I'm also using the Galleria plugin to display these images. My problem is this: on the first set of images loaded galleria works fine, but if i try to load differnt images galleria does not …

Web Development javascript
Member Avatar for GlenRogers
0
185
Member Avatar for de Source

Hi, i am making an asp application and in code behind file i am trying to bound drop down list from tbl_teacher in which i concatenate the first and last name by this query `string sqlStatement = "SELECT teacher_id, fname + lname AS Name FROM tbl_teacher";' and it is working …

Web Development asp asp.net html-css sql
Member Avatar for de Source
0
268
Member Avatar for kakalahori

there few number of questoins that need to be answered one does drupal data base has to co be collation? after i have executed the the database query in drupal instal i get error but i refresh and the tables are made in database(collation) on local host machine.Does this causes …

Web Development php
Member Avatar for kakalahori
0
445
Member Avatar for vtilva

Server Error in '/AVBrothers' Application. The request failed with HTTP status 404: Not Found. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Net.WebException: The request …

Web Development asp.net file-stream web-server
Member Avatar for vtilva
0
829
Member Avatar for KirstyHunter

Hi, I am having issues with popup panels disappearing because the control is posting back I have a popup extender on a page which pops out a panel that contains a control I have created <asp:scriptmanager ID="Scriptmanager1" runat="server"></asp:scriptmanager> <ajaxToolkit:ModalPopupExtender ID="PopupExtender1" PopupControlID="Panel1" runat="server" TargetControlID="Button1"> </ajaxToolkit:ModalPopupExtender> <asp:Panel ID="Panel1" runat="server" BorderStyle="None" BorderWidth="1px" ClientIDMode="Static" …

Web Development asp.net javascript
Member Avatar for BMXDad
0
305
Member Avatar for divin757

When I click the login button I never get any values posted to the server. I accept a AuthViewModel but it is always null. I have tried using @html.EditorFor but have not had any luck with it. **User Controller** [HttpGet] public ActionResult Password() { UserModel user = (UserModel)Session[Constants.SessionVars.Authenticate]; //error - …

Member Avatar for BMXDad
0
613
Member Avatar for bradly.spicer

Hi, Been working on this PHP snippet and it was fine until I changed one line. I am doing this inside Wordpress so I can't echo the problems out. "Server error" Hopefull you guys can see where my snippet has gone wrong :)) <?php //Create connection //new mysqli("localhost", "user", "password", …

Web Development php wordpress
Member Avatar for bradly.spicer
0
142
Member Avatar for turpentyne

I have an error showing up in IE 10 and in Chrome: The chrome version: Uncaught TypeError: Object function ( selector, context ) { // The jQuery object is actually just the init constructor 'enhanced' return new jQuery.fn.init( selector, context, rootjQuery ); } has no method 'format' Unfortunately, I'm not …

Web Development javascript
Member Avatar for paulkd
0
229
Member Avatar for bfitzgerald

Hi Guys I'm using a form which sends data to a php file so that ti can be sent to a database. However some of the data passed are dates for the start, end of teh event and when sign ups expire. I want to stop the from data been …

Web Development php programming-construct
Member Avatar for bfitzgerald
0
203
Member Avatar for 68thorby68

I have a small site that is not too data intensive, but requires the user to login to access pages that handle data and pages that interact with the database. To enhance the site security I am hoping to that I do not need to use cookies, instead handle all …

Web Development php session
Member Avatar for Webville312
0
137
Member Avatar for Webville312

Hullo, I am working on sam php code that captures users' details, depending on their choice. If the user selects "No", then the products will not be delivered to him, and so; the form collecting details will not be displayed. However, if he selects "Yes" option, then the form to …

Web Development php
Member Avatar for Webville312
0
106
Member Avatar for bfitzgerald

Hi Guys I have been asked to make an online sign up sheet system by my boss. I have almost finished but have encountered a problem. To sign up to the created activity I have use a previous form to add a "page name" which is then used to generate …

Web Development html-css php
Member Avatar for bfitzgerald
0
224
Member Avatar for tossot92

I create a membership website on website that required registration to see full website. I also want users register from specific country. To archive this goal, I also add SMS verification on my registration page and restrict phone number field only for country that I want i.e. `923`. If Phone …

Web Development javascript
Member Avatar for noahwilson
0
326
Member Avatar for yy886

It seem to be I have a problem on that code as this only go though the first one and then stopped...so other file extension is not allow... //Check the file extension if (($_FILES["file"]["type"] == "application/pdf") || ($_FILES["file"]["type"] == "application/doc") || ($_FILES["file"]["type"] == "application/docx") || ($_FILES["file"]["type"] == "application/ppt") || ($_FILES["file"]["type"] …

Web Development file-system pdf php
Member Avatar for yy886
0
292
Member Avatar for yy886

The connection and setting are fine as I can insert things into the same db with different tables. Long story short below is the value that I want to insert into the db but it give me no error and nothing insert. I have use the echo and checked every …

Web Development mysql pdf php
Member Avatar for pritaeas
0
288
Member Avatar for ak47carbon

i want to redirect all .html file in subdirtories into root directory with .htaccess file,it does not manner that how much directory is complicated or long. example1: http://www.example.com/folder/folder2/folder3/folder4/main.html to http://www.example.com/main.html example2 http://www.example.com/folder/manyfolder/main.html to http://www.example.com/main.html

Web Development php
Member Avatar for pritaeas
0
172
Member Avatar for jethaya

i have multiple users who need to update a table into mysql with a csv file they will need to do this by pasting the csv file into a text area on the website the first row of that file contains the name of each feild and i need to …

Web Development mysql php
Member Avatar for diafol
0
466
Member Avatar for vizz

How to create website like, [URL="http://www.paktvlive.com/"]http://www.paktvlive.com/[/URL] [URL="http://www.freetv-watch.com/"]http://www.freetv-watch.com/[/URL]

Web Development php
Member Avatar for joopdoop1
0
123
Member Avatar for jonsan32

I'd like to figure out how to (if there is a way) to have 3 dependent dropdown boxes with a submit button that could filter my blog by label. It's for athletes who want to be recruited. I'd like for coaches to be able to select a sport, then select …

Web Development html-css javascript
Member Avatar for LastMitch
0
363
Member Avatar for pritaeas

I am in the process of updating a website, which uses Highslide and a thumbnail strip on the bottom. The old website works ilke a charm but the new one fails. On my test website (newer layout) the thumbnail strip shows the last picture five times. [Page on original website](http://www.onderwaterwereld.org/library/nl-zout/anthozoa/alcyonium%20digitatum) …

Web Development javascript
Member Avatar for pritaeas
0
109
Member Avatar for code_rum

Hi, I am using timepicker. Onclick of textbox, timepicker open up with time mentioning 12am by default. but when I click on ok 12.00 am doesn't comes up in the textbox. The only way it comes up is when I slide it to certain time and back to 12.00 am. …

Web Development javascript javascript-jquery
Member Avatar for pixelsoul
0
265
Member Avatar for PF2G

Hi, i'm trying to do clean url's using .htaccess but i'm having problems. Here i have my .htaccess: <IfModule mod_rewrite.c> RewriteEngine on RewriteRule ^([a-z]+)\/([0-9]+)\/?$ parameter_letter_and_number.php?param=$1&param2=$2 [NC] RewriteRule ^([a-z]+)\/?$ $1.php [NC] RewriteRule ^([0-9]+)\/?$ parameter_number.php?param=$1 [NC] RewriteRule ^([0-9_]+)\/?$ parameter_number_and_underscore.php?param=$1 [NC] </IfModule> Here is my parameters page so i can test: <!DOCTYPE HTML> …

Web Development apache php
Member Avatar for NardCake
0
451
Member Avatar for kamil.metkowski

Hi I'm doing a search function in PHP from an sql database. It was working before and i have no idea what happend but when i search now no results are found, but before the search it shows all the records, so there is a connection with the database. I …

Web Development php seo sql
Member Avatar for kamil.metkowski
0
190
Member Avatar for marifard

Hi, I made a page to show the information of the applications I apply and the interviews I made for selected applications and I use the inner join and left join to display data from different tables. This week I add another table to enter in it the comments. I …

Web Development mysql php
Member Avatar for pritaeas
0
363
Member Avatar for MasterHacker110

I have finaly completed the demos of my webpage project. But there is one things that I don't know how to implement. basicly a basic input box is: <form> <input type="text" class="my_Text_box"/> </form> What I need thow is an input box of a certain widht, hieght. And that will take …

Web Development html-css
Member Avatar for MasterHacker110
0
219
Member Avatar for rexmatthew

How do I use the jQuery.noConflict(); with this? <meta charset="utf-8" /> <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.2/themes/redmond/jquery-ui.css" /> <script src="http://code.jquery.com/jquery-1.9.1.js"></script> <script src="http://code.jquery.com/ui/1.10.2/jquery-ui.js"></script> <script> $(function() { $( "#tabs1, #tabs2" ).tabs( { show: function(event, ui){ // check if is "mappanel" and "map" is empty if (ui.panel.id == 'mappanel' && $('#map').is(':empty')) { // load map var …

Web Development javascript-jquery
Member Avatar for radhakrishna.p
0
224
Member Avatar for ankit.4aug

Hi I was looking magento tutorial there I found following lines <input type="text" name="custom[ssn]" value="<?php echo $this->htmlEscape($this->getQuote()->getSsn()) ?>" title="<?php echo $this->__('SSN') ?>" class="input-text required-entry" id="billing:ssn" /> </div> can you please explain me what do you mean by $this->getQuote()->getSsn() tutorial link is http://www.excellencemagentoblog.com/magento-add-custom-fields-checkout-page

Web Development ecommerce php
Member Avatar for veedeoo
0
246

The End.