how can i display selected records from my database(phpmyadmin) in listview using a search button? any reply will be a great help for me.. thank you.

Member Avatar
Member Avatar
+0 forum 1

Hello , I am making tries to display images in different tkinter windows , in every window displaying a different image , for this i made this code : # -*- coding: cp1252 -*- from Tkinter import * import Tkinter as tk import ttk from PIL import ImageTk, Image import os def interface2(): fenetre2=Toplevel() fenetre2.geometry("500x400") fenetre2.title(' ') f1 = Frame(fenetre2, bg="blue", width=500, height=400) f1.pack( fill=X, expand=0) print modelidmodifvar2 print "image%s.jpg"%(modelidmodifvar2) img2 = ImageTk.PhotoImage(Image.open("image%s.jpg"%modelidmodifvar2)) labimg.config( image=img2 ) print 'ok' lab1 = Label(fenetre2, text="Gestion de ressources informatiques" , bg = "blue", fg = "white" ) lab1.place ( x=152 , y=25 ) buttonquit …

Member Avatar
Member Avatar
+0 forum 2

Basically i have literally just started learning Java Script and i was seeking some help as to how i could repeatedly display the character "X" any given number of times using a function. Here is what i have so far: function makex(8) { var resultStr = ""; for (var xcount = 0; xcount < makex(8); xcount++) { resultStr = resultStr + 1; // this line was an experiment so could be completely wrong? } return resultStr; } // this is just so when you press run // i get some output console.log(makex(7)); Would really appreciate anyone that could help me. …

Member Avatar
Member Avatar
+0 forum 3

can any one pleace help me to code this program i have no idea how to do it. it will be very greatful if any one can help me thanks

Member Avatar
Member Avatar
+0 forum 3

<form action="index.php" method="post" enctype="multipart/form-data"> File: <input type="file" name="image"><input type="submit" value="Upload"> </form> <?php //connect to db mysql_connect("localhost","root","")or die(mysql_error()); mysql_select_db ("databaseimage")or die (mysql_error()); @$file =$_FILES['image']['tmp_name'];//kjo eshte e lidhur me <input type="file" name="image"> if (!isset($file)) echo ("Please select an image"); else { $image= addslashes(file_get_contents ($_FILES['image'] ['tmp_name'])); $image_name = addslashes($_FILES['image']['name']); $image_size = getimagesize ($_FILES['image'] ['tmp_name']); if(@$image_size==FALSE) echo "Nuk eshte imazh ky or bir hahahahah"; else { if(!$insert =mysql_query ("INSERT INTO store VALUES ('','$image_name','$image')")) echo ('Pati problem ne ngarkim'); else { $lastid = mysql_insert_id (); echo "Image uploaded.<p />Your image:<p /><img src=get.php?id=$lastid>"; } } } ?>

Member Avatar
Member Avatar
+0 forum 8

Hello guys, is there any way to display variables from highest to lowest **without storing them into an array**? For example i got multiple variables *$numone = 500; $numtwo = 600; $ numthree = 700;* and i want to display it out base on their value. Any help is much appreciated

Member Avatar
Member Avatar
+0 forum 4

when i search something in the database it doesn't show me what is in the databese how to connect into it or it doesnt show what is in it????

Member Avatar
Member Avatar
-2 forum 20

i m traying this simples code but nothing is displayed what type of problem showld be. <?php function yourname($name) { echo "Your name is" .$name; } yourname("andi"); ?> another code <?php $age= 18; if ($age>=21) { echo 'alan'; }else{ echo 'bob'; } ?>

Member Avatar
Member Avatar
+0 forum 3

i have 2 forms.. the first one is for displaying students record while the other one is for searching student record (in datagrid) i want to display the searched record of a student from form2 to textboxes in form1..how is this possible? If DataGrid1.Col = 0 Then If Text1.Text = "" Then MsgBox "Enter Student ID" Text1.SetFocus Else refer = DataGrid1.Col refer = Text1.Text bol = True formal.Show End If Else MsgBox "Click StudentID" End If tudentID" End If

Member Avatar
Member Avatar
+0 forum 5

i have writeen following query in my code. $tquery="SELECT questions.id,questions.date,questions.title,users.user_name,subjects.subject FROM questions INNER JOIN users ON questions.student_id=users.id INNER JOIN topics ON questions.topic_id=topics.id INNER JOIN subjects ON topics.subject_id=subjects.id WHERE subjects.id=".$_SESSION['sub1']." OR subjects.id=".$_SESSION['sub2'].";"; but when i am trying to echoing its result it is not displaying anything.

Member Avatar
Member Avatar
+0 forum 4

I have used queue but I cant figure out how to write code to display horizontal(bfs) and vertical binary search traversal

Member Avatar
Member Avatar
+0 forum 3

I'm trying to make a little disk cleaner program and I couldn't figure out how to display the results of scanned directory on list view tool on windows form application. I have a 3 columns and these are File Name, Folder Path and File Size. I want the program to scan for example this location: [COLOR="Red"]C:\Users\Emre\AppData\Local\CrashDumps[/COLOR] and display all of the files in that location on the list view tool. How could i do this? And how do display the file size and file location on the next 2 colomns and these other two colomns are sub items. Thank you!

Member Avatar
Member Avatar
+0 forum 3

I have this webpage [URL="http://www.catchamouse.ic.cz/Flashgames.htm"]http://www.catchamouse.ic.cz/Flashgames.htm[/URL]. The problem is that in Explorer it's OK but in other browsers such Firefox, Opera and Chrome does not display the list of games correctly (images is missing). Could you please give me the solution of this issue?

Member Avatar
Member Avatar
+0 forum 3

The End.