17 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for tshukela.george

Hi there I'm creating an invoice generator program, first the user must enter the number of products to diplay on a pdf file, below are my codes. My proble is, this if statement does not run as expected Private Sub Add_New_Order_Item_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load …

Member Avatar for tshukela.george
0
285
Member Avatar for CreatorZeus

so, im trying to make a simple funtion to see if there is a file in a folder. been looking everywhere but havent found one that worked out. annnnnnnnnnnnnd code snippet: ` WIN32_FIND_DATA FindFileData; HANDLE hFind; hFind = FindFirstFile(_T"C:\\Dev-Cpp\\notes", &FindFileData); if (hFind == INVALID_HANDLE_VALUE) { cout << "No File found\n"; …

Member Avatar for duskoKoscica
0
485
Member Avatar for Gobble45

Hi there, I have 3 tables to extract data from. My query thus far is: SELECT `ministry`.`pm_name` AS 'Name', DATE_FORMAT(`ministry`.`min_begin`, '%Y') AS 'Election Year', `ministry`.`party` AS 'Party Led', `deputy_name` AS 'Deputy PM', COUNT(DISTINCT `ministry`.`min_begin`) AS 'Times Elected PM', `GG_name` as 'GG Name', `gg_title` as 'GG Title' FROM `ministry` JOIN `deputy_pm` …

Member Avatar for Gobble45
0
288
Member Avatar for garyjohnson

Okay, I dont have any code for this I am just not sure at all on how to do what I want. I have a website which displays pictures. There are albums and when you search the album it brings up all the pictures of that album. Now lets say …

Member Avatar for garyjohnson
0
253
Member Avatar for flynismo

Hi all, I'm currently putting together a search engine for my website, and so far, everything is going pretty smoothly. The only thing left that I would like to do is when the search results are displayed, I want to be able to highlight the search term entered in the …

Member Avatar for flynismo
0
625
Member Avatar for diafol

SELECT t.* FROM (SELECT * FROM jobs WHERE `status` IN (0,1,2,3) ORDER BY `status` DESC, job_datetime LIMIT 11, 20) AS t That's a cut down sample of my sql. It was more complicated, but I've pared it down to this just to see why I was getting some strange numbers …

Member Avatar for pritaeas
0
180
Member Avatar for da(code)da

So im trying to make a password login and im getting errors. i got past my Unable to jump to row 0 error with this: **mysql_num_rows($result) >= 1** but now it wont jump to the row when the password is correct ether :/ here is the code; whats wrong with …

Member Avatar for da(code)da
0
261
Member Avatar for reco21

Hey Everyone. Im using jquery's Validation plugin to check post values before I submit a form. Im trying to check a mysql table column to match user name to check for a duplicate name before submitting. This snippet of code below works as expected.. [CODE]<?php $request = trim(strtolower($_REQUEST['login'])); //sleep(2); usleep(150000); …

Member Avatar for reco21
0
205
Member Avatar for showman13

Good Morning, I have an ever growing member database that is currently at around 6000 (developed over the past 2 weeks), and expect it to be in the hundreds of thousands within a few more weeks... My problem is that alot of members are using a single email address for …

Member Avatar for showman13
0
192
Member Avatar for DaveyMoyes

Hi everyone, I need a wee bit of help with the following. I am calling all country names from a db table and echo-ing out each country name in a list format. $query = "select * from countries order by Country Desc"; $result = mysql_query($query) or die(mysql_error()); while($row = mysql_fetch_array($result)){ …

Member Avatar for DaveyMoyes
0
435
Member Avatar for patk570

I have a basic search result page going right now, but i want the code to generate a html link on the search name so I can see all the data associated with the customer name. I have a simple DB set up with Customer Name, Computer type, Model, etc. …

Member Avatar for pritaeas
0
959
Member Avatar for totalwar235

I am working on a website and I am currently trying to make it look more proffesional with the help of CSS(I am writing this all myself, not using a generator). Recently I installed something that would make a more professional. The only problem is that whenever I look at …

Member Avatar for totalwar235
0
270
Member Avatar for RazorRamon

Hello all, I'm trying to build a forum site. The code below works fine but I dont know how to catch it from the address bar. I'm having trouble finding tutorials to help me with this. viewtopics.php [CODE] echo "<tr bgcolor='#6698FF' ><td><a href='viewcomments.php?id=".$rows['topic']."'> ".$rows['topic']."</a></td><td>".$rows['username']."</td><td>".$rows['timestamp']."</td></tr>"; [/CODE] Address Bar [CODE] http://localhost/testsite/viewcomments.php?id=Cowboys%20Dancehall [/CODE] …

Member Avatar for RazorRamon
0
287
Member Avatar for turpentyne

I have the paginated results page below, intended to show the results from a previous search page that pulls items from the database and also passes the _GET to this page. When I first submit my search, it works. But when I click on the paginated pages below, It reloads …

Member Avatar for turpentyne
0
124
Member Avatar for paresh_thummar

Hi I want to store query result in single variable like if query is "select count(*) from tablename" , and it return suppose 21 records (integer value) then I want to save this value in my database during insertion of record what should i write in place of question mark …

Member Avatar for Akash Saikia
0
1K
Member Avatar for tsp003

Hi, i've been going round in circles for an answer to this one. Basically, i've downloaded a search application for my website here [URL="http://hvn.org.uk/searchengine"]http://hvn.org.uk/searchengine[/URL]. This all works fine. What i now need to do is take the link on the results page and populate a new details.php page will display …

Member Avatar for tsp003
0
216
Member Avatar for tunde011

[code=php] <?php include 'config.php'; include 'opendb.php'; $result = mysql_query("SELECT * FROM 888db ORDER BY id") or die(mysql_error()); echo "<table border='0'>"; echo "<div id='bodyframe'>"; // keeps getting the next row until there are no more to get while($row = mysql_fetch_array( $result )) { // Print out the contents of each row …

Member Avatar for me655321
0
366

The End.