Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #1K
~38.6K People Reached
PC Specs
Windows XP (System doesn't support higher) On AMD Sepron Processor (1.8GHz) 512MB RAMWhen not on that…

59 Posted Topics

Member Avatar for Matthew N.

Hello, I'm trying to write data to an INI file, I've got some code to read it: [http://pastebin.com/Jpwf8XJM](http://pastebin.com/Jpwf8XJM). I've tried to modify this code to get it to be able to write to INI files, but I haven't had much success. I know there are DLL's designed for this, but …

Member Avatar for jehernandez757
0
3K
Member Avatar for vegaseat

[QUOTE=EdgarSwank;1425218]Does not work for me.[/QUOTE] Do you have windows (any version) as this will not work unless you change the path if you are not using windows [code=html] \/ <EMBED SRC="C:\Windows\Media\Onestop.mid" hidden=true autostart=true loop=1> [/code] Change to a absolute url to the file or to the folder it is in.

Member Avatar for Johannes_2
0
5K
Member Avatar for Matthew N.

Hey, I'm making a website, and have some css to put two divs next to each other. This is my css and HTML code : [CODE].class1 { float:left; border-right:2px solid #000; } .class2 { float:right; } .class3 { clear:both; }[/CODE] HTML : [CODE] <div class="class1"> Div 1 </div> <div class="class2"> …

Member Avatar for nivabeath1
0
4K
Member Avatar for pspkid17
Member Avatar for baig123
0
243
Member Avatar for davy_yg

[code] if(!isset($_GET['halaman'])) { $_GET['halaman'] = 1; // add default page number } [/code]

Member Avatar for Purnomo_1
0
274
Member Avatar for newbie1234

I think you could use [GreyBox](http://orangoo.com/labs/GreyBox/) for this. It doesn't use any frameworks, and allows you to display websites, text and images.

Member Avatar for newbie1234
0
12K
Member Avatar for urlrookie

Wouldn't you put the rel attribute on the a tag to open the image? (well, that's how it works with Lightbox anyway)

Member Avatar for Biiim
0
100
Member Avatar for reyeskai

There is a thread specially about this kind of error: [URL="http://www.daniweb.com/web-development/php/threads/191031"]http://www.daniweb.com/web-development/php/threads/191031[/URL] If that doesn't help, post what the error says in full.

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

Have you used the cookie viewer of your browser to check the cookie is being created?

Member Avatar for gotboots
0
121
Member Avatar for Matthew N.

I have a Java program, which launches a app, but before starting, it checks for the version.txt file, and if it doesn't exist, or there is a newer version available off my site, it downloads it. Well, not quite. I've got the part that checks for updates, and file existence, …

Member Avatar for DavidKroukamp
0
489
Member Avatar for kewl

It's giving you the `Broken Image` error because you aren't displaying just a image when calling the view.php file from other scripts. Maybe have a function that returns the value of the image from the database and uses the data:// Uri, for example?

Member Avatar for kewl
0
205
Member Avatar for raul prakash

Could you detect the user-agent of the device and disable the links/buttons if the user is not on a mobile device?

Member Avatar for Matthew N.
0
123
Member Avatar for Netsurfers

MySQL Is telling you that the table doesn't exist. Are you sure you've got the right table names? Also, try using these (`) around table and field names. [CODE] $result = mysql_query("SELECT `amount` FROM `wallet` WHERE `id` LIKE '%$id%'") or die(mysql_error()); [/CODE]

Member Avatar for Netsurfers
0
148
Member Avatar for Matthew N.

Hello. I don't know if this is the right forum for this. I have resently downloaded a custom jQuery UI Pack, only using core and tab widget. On the examples in the index.html file, everything loads fine. Then I copy the files to my website directory, (all locally) and the …

Member Avatar for Matthew N.
0
384
Member Avatar for tawboiid

If it is unfocused the onblur event is initiated, could you run code on that event, checking to make sure they are not trying to go to another text box

Member Avatar for tawboiid
0
364
Member Avatar for turt2live

cwarn23, in your code I cannot see what variable image is equal t. Could you please explain

Member Avatar for turt2live
0
541
Member Avatar for Matthew N.

In JavaScript (preferably jQuery) how could I create a new element and set its values, but I want it in a specific place In the document. My divs are structured like this : [code]/* container item [item to be created inserted here] */ [/code] I know how to do this …

Member Avatar for Matthew N.
0
179
Member Avatar for jemz
Member Avatar for Joshua Kidd
Member Avatar for Joshua Kidd
0
184
Member Avatar for bettybarnes

to find out a little info about what is happening, change these bits of code: [CODE] /* Where you connect to the db : mysql_connect("localhost","user","pass") or die(mysql_error()); Change pass to your password Where you select the DB : mysql_select_db("dbname") or die(mysql_error()); Change dbname to your dbname. [/CODE] If you still …

Member Avatar for bettybarnes
0
1K
Member Avatar for IWDesigns
Member Avatar for Matthew N.
0
181
Member Avatar for davy_yg

[code] <script type="text/javascript" src="/view/javascript/ckeditor.js"></script> [/code] requires the folder view to be at server root, try [code] <script type="text/javascript" src="./view/javascript/ckeditor.js"></script> [/code] for document relative linking

Member Avatar for davy_yg
0
260
Member Avatar for Matthew N.

Hello, today I'm going to show you how to make a PHP Password Generator. There are other ways of doing this, but I'm going to show you the way I use. Feel free to add your way too! Ok, let's get started. Make a new directory to store your files …

Member Avatar for diafol
0
157
Member Avatar for prvnkmr194

This script will only work if the host has php_printer in their extensions...

Member Avatar for phoenix_2000
0
2K
Member Avatar for bantex07
Member Avatar for raju_boini525
Member Avatar for ahiskaboy2011
Member Avatar for Vod4All.Net

some sites PHP.ini files have all error reporting on. add [CODE]ob_start();[/CODE] to the start of the file, evem before comments. Please say if this works

Member Avatar for Matthew N.
0
1K
Member Avatar for ggeoff

You could use the [CODE] <link /> [/CODE] property. Example : [CODE] <link rel="stylesheet" href="stylesheet.css" media="all" /> [/CODE] That is the only way of including a stylesheet without import queries.

Member Avatar for ggeoff
0
165
Member Avatar for MichaelBerh

Have you tried `beutifiying` your code? eg: [CODE] /* Code: */ session_start(); if(isset($_SESSION['somevar'])){echo $_SESSION['somevar']; }else{echo 'othervar'; } /* Would Be:*/ session_start(); if(isset($_SESSION['somevar'])) { echo $_SESSION['somevar']; } else { echo 'othervar'; } [/CODE] This often helps you to find errors in your code. Also, use single quotes or double quotes unless …

Member Avatar for cwarn23
0
162
Member Avatar for Matthew N.

Hello. I'm going to show you how to make a basic php image gallery. Firstly, create the following files [LIST] [*]index.php [*]view.php [*]/images (dir) [/LIST] Now, for the code. index.php [CODE] <?php $img = array(); $img[] = array('title'=>'img1', 'src' = 'img1.jpg'); ?> <html> <head> <title>mygallery | homepage</title> </head> <body> <h2>mygallery</h2> …

Member Avatar for Matthew N.
0
422
Member Avatar for AbhishekBiswal

when user signs up, you could use [CODE]mkdir($username)[/CODE] and in that dir, you could make index.php, and in index.php use file_get_contents (making sure that any images or links a relative to the directory, or use absolute urls) to get the contents of user.php?name=$username

Member Avatar for Matthew N.
0
177
Member Avatar for ken.atienza

Try changing to this bit of code : [CODE] $sql="SELECT * FROM accounts,adminaccount WHERE accounts.emailaddress='$username' and accounts.password='$password' or adminaccount.emailaddress='$username' and adminaccount.password='$password'"; $result = mysql_query($sql); $count=mysql_num_rows($result); while($row = mysql_fetch_assoc($result)){ $usertype = $row['usertype']; if($count==1) { $_SESSION['usertype']= $row['usertype']; $_SESSION['id'] = $row['id']; if($usertype == "admin") { header("location:indexadmin.php"); } else { header("location:indexmember.php"); } } else …

Member Avatar for Matthew N.
0
153
Member Avatar for Xdwardo

cwarn23, you used the tags <xmp> and </xmp> before and after your code. Could you explain what they are for? Matthew

Member Avatar for Xdwardo
0
174
Member Avatar for samsnov

This could be achieved with php on the template page, and using a URL like my_script.php?file=img.png&t=my%20image. I will provide an example. [CODE] <HTML> <head> <title>Gallery : <?php echo $_GET['t']; ?></title> </head> <body><div align="center"> <table> <tr><td><b><?php echo $_GET['t']; ?></b></td></tr> <tr><td><img src="images/<?php echo $_GET['file']; ?>" /></td</tr> </table></div> </body> </HTML> [/CODE] sorry about …

Member Avatar for samsnov
0
165
Member Avatar for Nahiyan

You could use $("#id"); in jQuery and give everything id's, and knowing that all elements in a div will inerit the properties of the parent element(I think) .

Member Avatar for Nahiyan
0
197
Member Avatar for Rahul V S
Member Avatar for tmash
Member Avatar for Matthew N.
0
65
Member Avatar for Tenni403

In you CSS, make sure that the bg image comes befor the by color, otherwise if the bg color is first, the bg image will override the bg color, only if the item with the bg color is inside the other item. Hope this makes sense. - Matthew

Member Avatar for Tenni403
0
211
Member Avatar for srdva59
Member Avatar for Matthew N.
0
268
Member Avatar for davy_yg

Also, on some servers, you need to add a @ sign before mysql_num_rows and mysql_fetch_assoc/array. This is to do with error_reporting. To stop the @ sign being needed, change error_reporting to 0 in php.ini, or add [CODE]error_reporting(0);[/CODE] to the top of your code. Matthew

Member Avatar for Matthew N.
0
249
Member Avatar for Sarama2030

XAMPP Is a package with php apache cgi and many more [URL="http://www.apachefriends.org/xampp-en.html"]XAMPP[/URL]

Member Avatar for dottomm
0
171
Member Avatar for ashwinshenoy

You can refresh a form be using [ICODE]Me.Refresh[/ICODE], so you could get your data in variables such as : [CODE]TextBox1.Text = Name TextBox2.Text = Date[/CODE] etc, getting the variables from the database. [URL="http://www.youtube.com/watch?v=mmK5c8S9Vso"]Watch Youtube Video On Connecting To Access Database[/URL] (This is a 2 part video) After loading data, call …

Member Avatar for dxider
0
168
Member Avatar for javanew

it would be [CODE=php]<?php if($_POST['guess'] != 2) { die("Answer is rong"); } else { what happens if right } ?>[/CODE]

Member Avatar for diafol
0
103
Member Avatar for Matthew N.

I have made a php comment script. It works fine, except that you cannot veiw the comments, you don't need to sign in or anything, but it wont show the comments. you can veiw the source at [URL="http://www.jsclsftwre.22web.net/testing/index.php"]Veiw it here[/URL]

Member Avatar for chrishea
0
158
Member Avatar for Matthew N.

Hello, I have a JavaScript calculator, here is the code:[CODE]<script type="text/javascript"> var num1=prompt('Enter your first number',""); var num2=prompt('Enter your second number',""); var problem=prompt('Enter the operator you wish to use..x,X,+,-,/ are valid..',""); if (problem=="+") { alert("The anwser to your equasion is "num1+num2); } else if (problem=="-") { alert("The answer to your …

Member Avatar for rbsntl
0
1K
Member Avatar for Matthew N.

Hi, I have a code here, a back button in such. Here is the code: [CODE] <FORM> <INPUT TYPE="button" name="but1" value="Go Back" onClick="window.location='jbutton.htm'"> </FORM> [/CODE] Please use HTML to do this IF POSSIBLE. I would like to use a image with like say [CODE]<h2>[/CODE] above it, and both the picture …

Member Avatar for Matthew N.
0
103
Member Avatar for new SE

May I suggest using a free program such as [URL="http://www.mediafire.com/?54x9moi2o6obd"]SWF Banner Pro[/URL] you can make flash animation in it, also you can insert your banners to make a moving banner

Member Avatar for new SE
0
74
Member Avatar for Matthew N.

I have watched alot of Java tutorials on yutube, but they all say to go to [url]http://www.sun.com/[/url] and get the JKD, but there is about 7 downloads labled JKD and java development kit, so can somebody please give me an exact download link, i want to have a look at …

Member Avatar for Matthew N.
0
152
Member Avatar for afizaex

Why did I come here from googling "Sigh"?? EDIT:: Tagges "sigh"

Member Avatar for afizaex
0
133

The End.