52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for mohdshafiqanas

Okay, I'm a newbie in this matter, and my lecturer seems to punish my class for not coming early to class. He asks us to write this assembly languange program, by using the information from internet. I really need your help about this question. Question 1. Initialize the grade listed …

Web Development assembly
Member Avatar for Echo89
0
118
Member Avatar for techyworld

I have a field dbscore in my database and it it an array of 5(5 level). lets say i have a new score for level 3. I want to update that score in the database for that particular level. the code below is updating the values but i think it's …

Web Development php
Member Avatar for techyworld
0
270
Member Avatar for techyworld

Hi i have a table Users which have a field "score" to store the current score of the game. Now lets say the user have played a level and has obtain a highest score. So it should update it in the DB. How will i do this comparison? the highest …

Web Development php
Member Avatar for pixelsoul
0
116
Member Avatar for M4trixSh4d0w

Hi, I'm new to php, but I'm trying to implement a basic user system on my site. I'm having some trouble keeping a PHP session when I change pages (or something like that) where the logged in varible (`id`) isn't showing up as being defined, so a logged-in user doesn't …

Web Development php session
Member Avatar for M4trixSh4d0w
0
319
Member Avatar for bantex07

how can i transper may database to other computer i use xampp and mySQL Admin please help me :(

Web Development php
Member Avatar for bantex07
0
206
Member Avatar for ismael ahm@d

Hi friends, I am trying to user nested foreach to insert data into table with three different column fields. Please look at that because i am getting error [syntax error, unexpected ',', expecting ')']. $cLists = $_POST['nd']; $Votes = $_POST['text']; $Votes_p = $_POST['text1']; $id = $_POST['invst_id']; //foreach($cLists as $nomineeid) foreach …

Web Development php
Member Avatar for broj1
0
655
Member Avatar for mathieu89

Hi All, This has become a very tedious process and I am hoping someone can help me simplify things. I run the below php command to retreive all the stock prices and then it prints it to the screen like this: stockcode price AAA $1 BBB $2 CCC $3 It …

Web Development mysql php sql
Member Avatar for broj1
0
4K
Member Avatar for t_thakar

Hi guys, I've built a basic MVC framework for my app it works as follows the app is accessible using only one file which is index.php then it generates the pages required in the backend and then store it in a variable and then echos it out. so if i …

Web Development app-store php session
Member Avatar for diafol
0
130
Member Avatar for 4fridi

<div class="site_search"> <form method="get" action="<?php echo SITE_URL; ?>search.php"> <input type="hidden" name="active" /> <select name="by"> <optgroup> <option> Songs</option> <option> Singers</option> </optgroup> </select> <input name="search" placeholder="Search..." type="text"> <input type="submit" value="Search"> </form> </div> The Above is my Html Form Code after hitten the and inputting the data into search bar my form will …

Web Development php seo
Member Avatar for 4fridi
0
172
Member Avatar for bengngim

I have the following code which works fine to format text from an SQL table. It seems a little long winded though. It will create paragraphs from the line breaks but ignore header and list tags (not wrap those in "p" tags. Can anyone see an obvious way to condense …

Web Development mysql php
Member Avatar for diafol
0
287
Member Avatar for OsaMasw

Hello guys, right now am trying to develope many php applications trying to learn php, now am good enough to start my own project, and am thinking to develope a games staticstis site for PS3 players I've done a leaderboard containe many players to get thier stats from Sony here …

Web Development gaming php
Member Avatar for OsaMasw
0
265
Member Avatar for Tko_1

All i would like to do is insert an image next to the question. Im sure this is a very easy thing to do. I just cant seem to do it. any help would be great, thank you '<input type="hidden" name="questions[' + n + '][number]" value="' + n + '" …

Web Development image javascript
Member Avatar for Tko_1
0
162
Member Avatar for lwschjang

To start off, thank you for your time and assistance. I recently bought a wordpress theme with a built in gallery. Here's the link to the theme's live preview, just click on the 'Fashion Model' link and the gallery will pop up: http://themeforest.net/item/mediabook-multimedia-wordpress-theme/full_screen_preview/3025192 As you can see it's a nice …

Member Avatar for lwschjang
0
304
Member Avatar for GlenRogers

Hi, Is the any way I can populate a dropdown navigation menu with categories and subcategories i have in mysql?? This is what I have so far, with the categories and subcategories just hardcoded in the html. <div class="menu"> <ul id="verticalmenu" class="glossymenu"> <li><a href="#" >Ribbon</a> <ul> <li><a href="#">7/8</a></li> <li><a href="#">5/8</a></li> …

Web Development mysql php
Member Avatar for GlenRogers
0
1K
Member Avatar for LRNPHP

Hi Everyone Could someone assist me in a PHP / MySQL dropdown select menu. I want to pull info from my DB and display it, then when I select the option it need's to reload screen and add a second drop down select menu. When I select the 2nd one …

Web Development mysql php
Member Avatar for amaz4u
0
2K
Member Avatar for Fiorentino01^

Hi, here I have another problem for you guys.I am doing this tutorial on mysql and php: http://repository.ui.ac.id/dokumen/lihat/3322.pd Now after I have reinstalled everything, MySql,phpMyAdmin and PHP everything works fine except I cannot log in as root.When I installed mySql I set a root password and also I created 2 …

Web Development mysql php
Member Avatar for IIM
0
318
Member Avatar for Vijaysurya

Hai everybody, i have two different layout. this admin layout meta tag not display in my meta title,description.. what is the problem and i addded my action file inside,but not diplayed. plz help me. public function executeContactus(sfWebRequest $request) { $this->setLayout('adminlayout'); $response = $this->getResponse(); $response->setContentType('text/html'); $response->addMeta('title','Contact Us – Give us your …

Web Development html-css javascript-jquery php
Member Avatar for gabrielcastillo
0
199
Member Avatar for venkyb47

Is any way to do user authentication without using mysql. One way I found is using session, but it is not recommended. Is it possible with text file? If possible how to do that and is secured? Thanks

Web Development mysql php session
Member Avatar for LaxLoafer
0
272
Member Avatar for lewashby

Note that this is on a Linux machine. I'M just starting to learn PHP and MySQL. I wrote the following php program that executes from an html form. Note that at this point the date from the html form is not being used to query the MySQL database. At this …

Web Development apache mysql php
Member Avatar for pixelsoul
0
350
Member Avatar for el.hafez44

Can anyone help me solve this problem, i tried everthing and googled all over everything, but still cant find solution, i hope somebody help me, ty, *sorry for my broken english $db=mysql_connect ("localhost", "root") or die ('I cannot connect to the database because: ' . mysql_error()); $mydb=mysql_select_db("database"); $sql="SELECT ID, FirstName, …

Web Development mysql php
Member Avatar for pixelsoul
0
284
Member Avatar for cmabill

my google map works very well except that the language is not English but Chinese, I need it to be default in English, and anoter problem is infobox size isa little big than what I need, pls see the attached shot, when I click the marker, the infobox display is …

Web Development api display google google-api seo
Member Avatar for AleMonteiro
0
345
Member Avatar for techyworld

hi can someone tell me what does this mean? if(isset($_POST["userid"])){

Web Development php
Member Avatar for EmilyJohnson
0
83
Member Avatar for ChrisXL

Hey everyone. Got a problem that I really need help solving. I have a page where a user is able to search a database for certain criteria (species/location/dates etc). What I have so far is when the form is submitted, the values are posted to a PHP script, which performs …

Web Development html-css javascript json mysql
Member Avatar for pritaeas
0
317
Member Avatar for riahc3

Hey I have a program in retrieving data from a HTML page with Javascript using Java. Lets say I have the structure of C:/index.html C:/js/script.js index.html contains: [code] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <script type="text/javascript" src="js/script.js"></script> </head> <body> <a href="javascript:void(0);" id="add"><img src="images/menunew.png" alt="plus" border="0" /></a> …

Member Avatar for Sammy@
0
2K
Member Avatar for bansarisavaliya

Hello, any one can help me " i want that When i press ENTER key control focus on next tab in asp.net

Web Development asp asp.net
Member Avatar for JorgeM
0
3K
Member Avatar for diether.silverious

Hi guys good day, im a student and i want to practice my php skills, i have a big problem in arrays that i cant solve almost a week so i decided to attach the php files as well as its database.pls help me so that i can study this …

Web Development assembly html-css php session
Member Avatar for diafol
0
443
Member Avatar for davy_yg

Hello, I am trying to create a simple file browser like: [media manager](http://www.rustoleum-indonesia.com/media%20manager.jpg) how?

Web Development file-system php
Member Avatar for mattster
0
63
Member Avatar for turpentyne

I'm trying to get this code to toggle between innerhtml - turn off embedded music. But it doesn't seem to be firing? The html in question: <span id="music"> <embed src="http://thewalshgroup.ca/dev/the-nest/music/12_full_prom-night_0132.mp3"autostart="true" loop="true" width="2" height="0" id="player"> <noembed> <bgsound src="http://thewalshgroup.ca/dev/the-nest/music/12_full_prom-night_0132.mp3"> </noembed> </embed> </span> and the jquery function: $(document).ready(function() { var playing = true; …

Web Development javascript
Member Avatar for turpentyne
0
422
Member Avatar for davy_yg

Hello, I wonder when do I have to use OOP (Object Oriented Programming) ? I know a little bit about it, but do not know when to use it. I basically in the middle of developing a website backend. Suggestion and advise appreciated.

Web Development php
Member Avatar for pritaeas
0
148
Member Avatar for kamilacbe

Hi , I have a website which has an option to play video which can be selected from a list , so my question is where can i find a video player which supports all file format and player with sharing embed code. done a flash player bt then looking …

Web Development asp.net
Member Avatar for pritaeas
0
137
Member Avatar for engrmshahzad

SELECT * FROM `users` WHERE `birth_date` between '%-02-02' AND '%-05-06'

Web Development php sql
Member Avatar for JorgeM
0
82
Member Avatar for mastermind2

Hi friends Please help me it is out of my head, I am pussing date and other variables value through url. Some time date is entering correctly in date field and some time entering 000-00-00. Please help me out. <?php include '../require.php'; $date=mysql_real_escape_string($_REQUEST['id']); $app_id=$_REQUEST['app']; $branch=$_REQUEST['branch']; $ins=$_REQUEST['ins']; $ins=$ins+1; //echo $app_id; //$rr="select …

Web Development mysql php
Member Avatar for AARTI SHRIVAS
0
260
Member Avatar for davy_yg

Hello, I wonder what's the different between online and offline. This script works offline, after I have it online, there are some problems occur. For instance, after login to the admin with the correct username and password, I suppose to be taken to the admin page, instead I get stucked …

Web Development php
Member Avatar for davy_yg
0
136
Member Avatar for macgibbo83

I'm trying to add multiple records to an attendance table in a mysql database. Having trouble building an array to check for the multiple entries with the same variables. [CODE]<?php if (isset($_POST['submitted'])) { include('connect-mysql.php'); $number = $_GET['number']; for ($i = 0; $i <= $number; $i++) { $value = $_GET['value']; $text …

Web Development php
Member Avatar for ramaswamy123
0
11K
Member Avatar for ngonix

Hi, i'm having a little problem with my php script. Here's the deal. I have 2 tables and I want to assign a post variable to a row in one table and then insert the id value of that table in another table. The script is as follows: clients.php <?php …

Web Development php session
Member Avatar for ngonix
0
323
Member Avatar for adishardis

I have a answer table and a attribute table. Answers table: -----token-------question1a1-------question1a2-------question2------........ --aaaBBB324Cc---------Y----------------NULL--------------Y-----........ attribute table: --------token---------attribute_1------.... ------aaaBBB324Cc-----2012-08-13-------..... With higcharts I am trying to display a graph with the total count for each question1(a1-a7) from a month back, with dates from the attribute table (namely the attribute_1 column) this is not …

Web Development mysql php
Member Avatar for adishardis
0
175
Member Avatar for davy_yg

var_dump(explode(".", $data['image'])); $file[0] = explode(".", $data['image']); echo $file[0]; The result: array(2) { [0]=> string(6) "image2" [1]=> string(3) "jpg" } Array I am trying to store "image2" in $file, how? (exclude the jpg)

Web Development php
Member Avatar for radow
0
90
Member Avatar for azgold472

I have a reservation page at [Click Here](http://www.orlandosuvandtowncar.com/reservations/Reservations.php) I get the following error when submitting the form to email Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /home/orlandos/public_html/reservations/res1.php on line 55 Below is that coding any help would be great. the server is running php 5.2.17. <?php require_once "Mail.php"; // EDIT …

Web Development email php
Member Avatar for Webville312
0
279
Member Avatar for hostguy

Here's the image [link](http://postimage.org/image/kee0ndxdv/)! Will this be possible ?? If so let me know how to do it guys. I dont know how to send the response to the browser directly help me guys.. Thanks, HOSTGUY

Web Development java php
Member Avatar for hostguy
0
140
Member Avatar for chandub

hi every one. I have form and in that that form some of fields values are taken from request object . and am validating fields values using struts validate() method. once i submit form if any error in fields validate method will throws error but the request object content is …

Web Development javascript
Member Avatar for radhakrishna.p
0
132
Member Avatar for davy_yg

Hello, After uploading picture into a certain folder and record the filename in the database, I would like to print the database and the picture out. Here is the code: <?php $i=0; while($data = mysql_fetch_array($result)){ $result2=($i%2)?'#DFA09D':'white'; echo "<tr bgcolor='$result2'> "; echo "<td>".$data['id']."</td>"; echo "<td>".$data['judul']."</td>"; echo "<td><img src='../photos/".$data['image']."'></td>"; echo "<td><a href='input_image.php?mode=edit&id=".$data['id']."'>Edit …

Web Development php
Member Avatar for davy_yg
0
219
Member Avatar for tuyendoan

The other day my boss noticed that our php pages read, and try to follow, duplicate file extentions. The pages which are displayed carry over a varying amount of the main pages attributes. The files don't exist in our remote, so we've ruled out it being a product of human …

Web Development apache php seo
Member Avatar for Squidge
0
274
Member Avatar for unikorndesigns

Hi Everyone, I am having a very hard time to figure this out. I had uploaded my CMS which is developed on the CI framework. I have configured the script with the database but however i try to access the index.php file it shows up an Internal Server Error but …

Web Development cms php php-codeigniter
Member Avatar for broj1
0
290
Member Avatar for turpentyne

I'm a bit new with javascript/jquery. I've taken over a page design with images and links that animate on rollovers. I've almost got things working, but there's one last glitch. The mouseover effects of an image growing/shrinking work fine when the page is first loaded. But if the user clicks …

Member Avatar for turpentyne
0
351
Member Avatar for eng442

It's been a long time since I don't post here, even forgot my username. Sorry if this is the wrong section. I can't get the $_POST['name'] values sent from an html form on my php file. I've seen lots of similar questions but nothing helped. I have lot's of includes …

Web Development html-css php
Member Avatar for eng442
0
530
Member Avatar for turpentyne

I have several rollover images that resize, then return to original when moused over. When an image animates, its movements are sequential, not synchronous. It gets taller, then wider. I want these to happen at the same time. Any thoughts? Here's a snippet of my current animation: $(".square.one,#link_nest").mouseenter(function(){ if ($(".the-nest")[0]){ …

Web Development javascript javascript-jquery
Member Avatar for turpentyne
0
87
Member Avatar for asif49

I'm writing a jquery script that is to be run in a large number of websites all written in different ways. My intention is to place certain html tags around bits of text within the code - sounds simple? But it isn't. One approach which I've tried is to use …

Member Avatar for asif49
0
91
Member Avatar for foxwizzy

So i got a color selector from http://www.eyecon.ro/colorpicker/ How do i save the selected color code in a php var so i can insert it in a MySQL db ?

Web Development javascript-jquery php
Member Avatar for pritaeas
0
76
Member Avatar for abhi10kumar

Is there any FREE CMS for mp3 ? It tried but did not find good one.

Web Development cms php
Member Avatar for abhi10kumar
0
71
Member Avatar for ceeandcee

I have a page on my site where I want to update only certain fields. There is a php form tht captures the data. Currently, when I update one field - it blanks out all the others. I want to be able to only update the one field and if …

Web Development mysql php
Member Avatar for ceeandcee
0
141

The End.