39,316 Topics

Member Avatar for
Member Avatar for fabzster

Hi We have a competition running that I would like to automate getting the results with PHP from my MYSQL DB. I can run a query on the Database to get the following results Consultant1 20 sales Consultant2 10 sales Consultant3 5 sales Consultant4 1 sales Consultant5 3 sales Consultant6 …

Member Avatar for fabzster
0
302
Member Avatar for bavenbabu

I am new to php...I wanna to show a loading image when the page is loading something in php...any help would be appreciated

Member Avatar for diafol
0
121
Member Avatar for bavenbabu

i am a new to php.i am having a trouble that whenever i typed a wrong username in the textfield the field goes blank after its submission...I need the field values there such i need not want to insert the textfield value again.so how can i avoid such problem...i appreciate …

Member Avatar for bavenbabu
-1
111
Member Avatar for Soben

I want to make a simple online multiple player cards game using PHP/Ajax. I guess I need socket programming (I want it to be real time). I've worked with sockets before in Java, but not for an online program, just a network game. I searched but I didn't really find …

Member Avatar for pritaeas
0
151
Member Avatar for fredy91

hy all, I have table that here contain a blob type, I wanna make this blob can be downloaded as zip file. I have idea to put it into temporary directory but I don't know how I can print/put that blob data type into temporary directory. Do my idea right? …

Member Avatar for pritaeas
0
32
Member Avatar for bavenbabu

I am using php to list out categories for a particular item while making blog.But i am listing out all the categories which are present in database in the list.I created a category table in my database.my code is listed as follows: [CODE] <?php include 'connection.php'; $list ="select name from …

Member Avatar for diafol
0
104
Member Avatar for Cyre

Hi There! Can you please help me with this. On the first page of my page I created a Textbox named="Student", on the second page I just $_POST its name and the value goes through the textbox and now I wanted to show it Again on the Third box, I …

Member Avatar for mohamedasif18
0
132
Member Avatar for bavenbabu

I had a category named movies,gadget.I want to display subcategories of each category in php.movies contain subcategories like new release,upcoming movies,songs and gadget contains subcategories like pc,mobiles.I want to display each category and its subcategories on the same page while clicking on category title.I created databases for each categories.Any help …

Member Avatar for mohamedasif18
0
67
Member Avatar for Mykybo

Hi, I am new to php, and I need to do multiply image upload. Right now I have single image upload which is not working.., so any adive would be appreciated. Here is part of form I use for image upload: [CODE] <i>Vyber obrázek:</i> <input type="file" name="imagefile" /> <br /><br …

Member Avatar for Mykybo
0
139
Member Avatar for bo0ga

Note: I'm very new to everything so please bare with me. Say I have a form on a website which asks for your first name, last name, and email address. Upon clicking submit, I want the data to be transferred and saved to a Microsoft Access Database. How do you …

Member Avatar for bo0ga
0
118
Member Avatar for patrick1981

I a form page in an iFrame that when a user submits it brings up a thank you page. But when the thank you page loads, because the initial form page is long users don't get to see the thank you message on the thank you page. So what I …

Member Avatar for diafol
0
110
Member Avatar for leechang.kevin

hi, another question here. i'm a beginner at php and i need a php script to automatically retrieve data from a database and fill in a form. all the data is in the database and I already have a script to search and return the results. I just don't know …

Member Avatar for IIM
0
116
Member Avatar for afrogfx

I'm Beginner. I need help, please. I am having a small problem in the script I am have in this script ( admin folder) Add contain articles (This page is working to add threads only) My problem in the Page (read_mor.php) i make a query with the database to bring …

Member Avatar for afrogfx
0
6K
Member Avatar for vlowe

hey, please help me sort this data out. Array ( [0] => Successful response for: set username [1] => Successful response for: set password [2] => Successful response for: set server [3] => Successful response for: services [4] => State Notification acquiring-network [5] => Successful response for: sign-in [6] => …

Member Avatar for vlowe
0
121
Member Avatar for SQLpower

Hello, folks. I do have another issue here, haha. My Cancel script is not working, is not returning the tickets back to the database after I cancel them. I got completely wrong here, some help would be really appreciated. [CODE] <?php session_start(); $tickets = ['tickets']; //$tickets = $_SESSION['tickets']; //$id = …

Member Avatar for Biiim
0
2K
Member Avatar for apa3

Hello everybody - and thanks for fast reply. Well, I have the following need: Once a month I receive a text file with the following content (per line/line content with fixed lenght but different values): 00000035412012013100000000000000000120120131000000000 00000000000000000000000000+0000000002012010000000000200000000000171753-00000000000000000+00000000000000000+00000000000171753-000000000000000000000000000000000000000000+00000000000000000+00000000000000000+00000000000000000+00000000000000000000000LOHN/01 LG 000000000000000000000000000000000000000000000000000+000000000000000000000000000000+000000000000000000000000 0000000000000000000000 0* This is only one line with 480 digits. I …

Member Avatar for apa3
0
244
Member Avatar for bibiki

hey there, as part of my application, I build an array of arrays. So, what I have is this: [CODE] $mainArray = array(); $mainArray = $somearray;//as built with results from a query $mainArray = $someOtherArray;//built same as above //I want to iterate: foreach($mainArray as $array) { foreach($array as $dataArray) { …

Member Avatar for bibiki
0
109
Member Avatar for spowel4

I need to pass close to 100 variables between pages and I'm not sure of the best way to do it. Any suggestions?

Member Avatar for jstfsklh211
0
141
Member Avatar for SQLpower

Hello, folks. I am facing a really annoying problem here. Well, basically I want my page to check if the user is an admin or not. Whenever I log in and try to access that page i am recieving the error message "You are not admin, leave" [CODE] <?php session_start(); …

Member Avatar for bibiki
0
233
Member Avatar for simplypixie

I am new to Ajax and have only been learning jQuery on and off for a few months so I apologise if this should be simple. I have followed a tutorial to get shopping cart functionality working using PHP, jQuery and Ajax and it is nearly there but I have …

Member Avatar for AleMonteiro
0
196
Member Avatar for leechang.kevin

Hi, I am building a room availability form that contains a foreign key 'roomNumber' that references the multiple dropdown list that contains the data time starting from 07:00 AM to 09:00 PM from monday to saturday, i can already store the data into the database but my problem now is …

Member Avatar for Biiim
0
792
Member Avatar for ak47carbon

<?php ob_start(); ?> <?php include("connection.php"); //this makes the time in the past to destroy the cookie $aa=$_COOKIE['md']; $bb=$_COOKIE['li']; $h1=$_COOKIE['h']; $m1=$_COOKIE['m']; date_default_timezone_set('GMT'); if (date_default_timezone_get()) { 'date_default_timezone_set: ' . date_default_timezone_get() . '<br />'; date("l, F d, Y h:i" ,time()) .'<br />'; $date_str = date("l, F d, Y h:i" ,time()); //ex:from database $date …

Member Avatar for pritaeas
0
159
Member Avatar for feblioz

[code=php] <div id="user-bar"> <div id="user-options"> <div class="notification-container"> <img src="media/gear-faded.png"> </div> <div class="notification-container"> <img src="media/courses-faded.png"> </div> <div class="notification-container"> <img src="media/chat-faded.png"> </div> </div> <span class="profile-container"> <img src="https://openlearning-cdn.s3.amazonaws.com/feblioz-avatar-24-ts1330811171.jpg" alt="" border="0" class="profile-image" align="absmiddle" width="24" height="24" id="myAvatar24"> <span>feblioz</span> </span> </div> [/code] do you know how to make all the images to be in a line?

Member Avatar for karthik_ppts
0
134
Member Avatar for morthea

[COLOR="red"][COLOR="red"]can anyone pls help me im still an IT student, and we have this case study Pizza Delivery system which the user can choose and check all the text box of the pizza size [/COLOR][/COLOR] [CODE]<INPUT TYPE=checkbox NAME="pica10" VALUE="S">10" Php300 <INPUT TYPE=checkbox NAME="pica14" VALUE="M">14" Php450 <INPUT TYPE=checkbox NAME="pica18" VALUE="L">18" Php650 …

Member Avatar for morthea
0
278
Member Avatar for tubesnube

Hello. I'm in the middle of updating a site for work and I'm stuck at the moment, so I was wondering could anyone help me out if possible. I'm new to PHP and HTML, been using them for nearly 2 weeks. What I'm doing is that there is 5 forms …

Member Avatar for Biiim
0
299
Member Avatar for INF-P

I am trying to add pricing to an existing website database, but when I enter a price for an item, it removes it on its own. Please assist me in finding the error? All the files and coding is that of a previous developer.. This is the only file with …

Member Avatar for INF-P
0
344
Member Avatar for Cyre
Member Avatar for Cyre
0
145
Member Avatar for muralibobby2015

Hello, i have a problem with my query. any body give suggestion please. i have two tables named as "users" and "userimages" in the users table there are 1)userid (primary key) 2)name 3)subscription package (Brong or gold) and in the next table "userimages" fields are 1)auto_id 2)userid (foreign key) 3)image …

Member Avatar for karthik_ppts
0
124
Member Avatar for reyeskai

Please help me i having this problem, Current is my code: error at line "if(mysql_num_rows($result)!=0)" function getNewID($init,$field,$table) { $num = rand(1,100000000); $act_id = $init.$num; $query = "SELECT $field FROM $table WHERE $field = '$act_id'"; $result = mysql_db_query("ssimage_db", $query); if(mysql_num_rows($result)!=0) { $exist = true; } else{ $exist = false; } while($exist) …

Member Avatar for Matthew N.
0
122
Member Avatar for Trizocy

Hello there. I was wondering if anyone here could help me out of this problem :)? So how do you retrieve a cookie? I have try this : ----------------- (Cookie value = Computer and name user ) This is my what is inside my php $myhyperlink=www.google.com/ $linktosite=$myhyperlink 'search='.$_COOKIE["user"]; header('location:'.$linktosite); ------------------------ …

Member Avatar for gotboots
0
119

The End.