39,316 Topics

Member Avatar for
Member Avatar for sidra 100

hi m facing same problem from 2,3 days i m too confused now. i m making an application. when i take data from from dont know why it doesnot reach the other page as print_r($_POST) is empty my code of both files are" [CODE]<?php $con=mysql_connect("localhost","root",""); mysql_select_db("pras2"); ?> <!DOCTYPE html PUBLIC …

Member Avatar for sidra 100
0
145
Member Avatar for dyan_naluis
Member Avatar for rad1964

Hello, On my way down a long road to develop a web form for a local sports league. Upon form submission, on my process.php page, I am trying to tally up each of the player's highlights throughout the match form. [URL="http://radmedia.org/EWMSa.jpg"]http://radmedia.org/EWMSa.jpg[/URL] Right now I have code which works, but I …

Member Avatar for rad1964
0
123
Member Avatar for freakunleash

I'm running the following code in PHP to generate the random list of movies from the database but since value of genere is an array it is just capturing the first value of the array. How can I modify the query so that I can get all the values of …

Member Avatar for freakunleash
0
149
Member Avatar for prasanna123

haii... I have written the code for a social networking site like orkut in php but due to guidelines given by my project guide i need to convert this code to j2EE is it possible??? i am new to j2EE can some one plzz tell me a site to learn …

Member Avatar for dmanw100
0
230
Member Avatar for asif49

Currently I'm reading XML attributes in the following way, this is the feed.php file that is called by the index page. [CODE]<?php for ($start < $end) { $xml=$_POST['q']; $xmlDoc = new DOMDocument(); $xmlDoc->load($xml); $i = $xmlDoc->getElementsByTagNameNS('http://search.yahoo.com/mrss/','thumbnail'); $image = $i->item($start)->getAttribute('url'); echo "<img src='$image'></img>"; $start++; } ?> [/CODE] Where $start and $end …

Member Avatar for Ezzaral
0
453
Member Avatar for doctorphp

Hey everyone. I am working on a website for a friend and I have finished designing the website and have now started developing it. What I am trying to do but am having problems with is making a menu that uses two tables in the database. [b]menu[/b] and [b]menuPerms[/b]. Below …

Member Avatar for diafol
0
231
Member Avatar for breakforce

Hello, since i am new to the forum please excuse me if the topic is not in the correct section. I would like to ask how to do the next thing i mean when you have a limit on who is online and who does not say 30 users are …

Member Avatar for diafol
0
287
Member Avatar for kalaban

good day; please spare some of your precious time with me, i'm really having a hard time to analyze this. my problem is how to evaluate two dates if it is not the same date. the first date is the actualdate [CODE]$actualTime = date ('d M Y @ H:i:s', $time+28800);[/CODE] …

Member Avatar for diafol
0
181
Member Avatar for jpknoob

Hi all, i have a piece of code that selects some data from a database and displays the results in a table. I am trying to edit the code to allow me to email the table to a an address entered, but am having difficulties, can anyone offer any advice? …

Member Avatar for fobos
0
82
Member Avatar for RazorRamon

Hello I'm looking to allow users upload pictures onto my site and have it displayed and linked to their site.. This process is for Ad purposes. Ive looked into php mysql uploading images but ive ran into a lot of threads condemning the practice and suggesting saving the images to …

Member Avatar for diafol
0
170
Member Avatar for PF2G

Hi, i'm doing an app to manage a music school and i'm inserting instruments and i have to create the program (what do you learn) of the instrument. I'm doing a RichTextBox. Now i have some problems: 1st - is to save what i write in the richtextbox in a …

Member Avatar for Oxiegen
0
236
Member Avatar for robo-romeski

Hello all; I need a hand. this forum has solved a bunch of my issues and I have another doosie on my hand. I have some ajax code that I query information from database in table form. I am trying to add an image link into the table, once it …

Member Avatar for fobos
0
193
Member Avatar for gvsb92
Member Avatar for jonnyboy12

Hello all . I use this code roughly to call some php code then run it in an html container. [CODE] function getVote(int) { if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 …

Member Avatar for fobos
0
121
Member Avatar for concrete

I have been asked to develop a Reporting System for an English Class as part of an assignment for Uni. I have two tables [LIST] [*]Students [*]English [/LIST] the data going into the grading system are [LIST] [*]Exam Mark [*]Exam Comment [*]Coursework Mark [*]Coursework Comment [*]Poetry [*]Creative Writing [*]English Literature …

Member Avatar for simplypixie
0
159
Member Avatar for glut

Hey, I don't know if this is the right section, but there's no HTAccess section, so I'll just put it here. Anyways, I'd like to make one of those signatures that gets the IP of the person and then makes and image out of it with the IP. I think …

Member Avatar for cereal
0
165
Member Avatar for saybabs

I really need someone to help me on the scenario below. I fetch all the rows in a database table with the mysql_fetch_array() and it was successful. I placed a button on each row in order to click and take the user to another page. On click of the button, …

Member Avatar for broj1
0
177
Member Avatar for clerisy
Member Avatar for vijayram

Hi every one. I make it the following code for profile page.but i click edit profile display onle personal description.dont display . `<?php if($sf_user->hasFlash("notice_change_password")): ?>` this area. plz tell me how to change. <?php use_javascript("location") ?> <?php use_javascript("editProfile") ?> <?php slot("js") ?> <script type="text/javascript"> $(document).ready(function(){ $("#personal_country_id").change(); }); </script> <?php end_slot() …

Member Avatar for diafol
0
97
Member Avatar for geneh23

Hey everyone! So I have a log in script (that someone on here gave me for testing purposes) that logs in based on user_level and I also have a quick login area instead of going to the log in page..on the log in page..when the user doesn't enter any inputs …

Member Avatar for pritaeas
0
109
Member Avatar for sidra 100

hi i m writing a program it is workng fine but doesnot update my database it gives me error since there are 4 query how can i know which one is wrong my part of program is: [CODE] $query2="SELECT * FROM rpms WHERE product_name='$raw_material1'"; $result2=mysql_query($query2) or die(mysql_error()); if ($result2) { …

Member Avatar for baruchM
0
89
Member Avatar for issaru07

been stuck this for the whole day.. need to seek advice from u guys.. it dont seems to work if i login as normal user... but if i log in as admin, it will redirect me to admin-index.php correctly. [CODE] <?php // Array for recording errors: $login_errors = array(); // …

Member Avatar for simplypixie
0
138
Member Avatar for klemme

Hi all, I have been asked to create an API for a website, which I would like to do, but havent done before. Does anyone have a good tutorial on using procedural style php, integrated with REST to make an API work? I have read that REST is really good …

Member Avatar for forkmartin
0
242
Member Avatar for 4cpukid

Hi; I have a mobile script from detectmobilebrowsers.com that will redirect the user to my mobile site however I also wish that when the URL "http://mysite.com/?mobile=no" is entered a session will be created that won't redirect the user on every page of my site... [code=php] $mobile=$_GET['mobile']; if(isset($_SESSION['mobile'])){ if($_SESSION['mobile']==="no"){ complete(); } …

Member Avatar for forkmartin
0
186
Member Avatar for oksam

I am trying to give each MOVIE there own url name, for example, [url]www.helloworld.com/BATMAN[/url]. I have been using mod_rewrite to create such url. I have been using following htaccess code to achieve such result. RewriteEngine ON RewriteCond %(REQUEST_FILENAME) !-d RewriteCond %(REQUEST_FILENAME) !-f RewriteCond %(REQUEST_FILENAME) !-l RewriteRule ^(.*)$ index.php?url=$1 [QSA,L] The …

Member Avatar for oksam
0
298
Member Avatar for mbowler

Hello, I run a service business where employees go to customer homes. I have a Joomla site where registered users (customers) can maintain details about the services they wish us to perform for them. At any point they can login and change these details. I have functions that use TCPDF …

0
69
Member Avatar for chandbasha

Hi I have one sql query. using this query i can download 10 lakhs of data in csv file for 6 hours. now i want to download 20 lakhs of data for 6 hours or less. please tell me how to increase the performance. SELECT id as imp_addr_id,userEmail, email ,name,mobile_no,gender,city,income,profession,experience,country,pincode,type …

Member Avatar for fobos
1
237
Member Avatar for emannoor455

[B]Hi, can anyone help plz? I want to fetch data from database and show in multiple check box value e.g Registration Num of student in 5 checkboxes with different values but really dont get how to do this :( plz anyone provide me easy code in php i will be …

Member Avatar for pzuurveen
0
925
Member Avatar for riahc3

My index.html is: [code] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title></title> </head> <body> <form action="index.php" method="post" name="uandp"> <input type="text" name="user"><br > <input type="password" name="password"> <input type="submit" value="Go"> </form> </body> </html> [/code] My index.php is: [code] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <?php session_start(); ?> …

Member Avatar for riahc3
0
133

The End.