609 Posted Topics

Member Avatar for davecoventry

From a programmatic stand point, yes it is possible. But if someone isn't familiar with the Joomla plugin that you're using it would be next to impossible to tell you exactly how to do it. I might recommend querying the company that the plugin was purchased from first before attempting …

Member Avatar for pixelsoul
0
98
Member Avatar for andymcr

@andymcr, my bad if you got spammed lol. I was just testing your script and forgot to change out your email address >.<

Member Avatar for pixelsoul
0
406
Member Avatar for allifields

Do us all a favor, put the site up online somewhere and post a link so we can see. Most of us are not going to download the files and look through a bunch of code. If we can see it online that makes it easier for us to just …

Member Avatar for allifields
0
233
Member Avatar for fheppell

You're talking about getting it right in the middle of the screen, right? I am sure there are plent of ways of doing it, I do it with two divs though. You can look at my site for an example http://www.pixelsoul.com The div that controlls the vertical alignment I called …

Member Avatar for fheppell
0
208
Member Avatar for engrjd91

Cookies persist on your local computer, they are small text files that are stored there by websites and web applications that contain some basic information about you as a user. Sessions are application specific and persist only as long as you are actively engaged with a particular web site. For …

Member Avatar for engrjd91
0
103
Member Avatar for OsaMasw

$run is always going to return TRUE if it runs, regardless if it has results. I would check if the numbers of rows returned was greater than "0". <?php include ('config.php'); if ($_POST) { $user = mysql_real_escape_string($_POST['username']); $sql = "SELECT user FROM `users` WHERE `user` = '".$user."'"; $run = mysql_query($sql); …

Member Avatar for OsaMasw
0
392
Member Avatar for aisha.edris1

You have a type in your while loop. while($row = mysql_fetch_assoc($qurey)) Should be while($row = mysql_fetch_assoc($query))

Member Avatar for aisha.edris1
0
204
Member Avatar for vizz

Any analytics tool that uses Javascript (basically all of them) just gets the referer from document.referrer in the DOM. This can't be overwritten with your own value but a lot of times the analytics tools let you override them. I work for an analytics company and we have a method …

Member Avatar for vizz
0
2K
Member Avatar for zobadof

It looks stuck to the bottom in my browser. Or were you actually attempting to make it scroll with the window?

Member Avatar for zobadof
0
3K
Member Avatar for dalilice

It is all in relation to where your CSS file is to your images. If your CSS and Images folders are under the root of your site, and you want to reference an image from the Images folder in your css file, then you should only have to do ../images/image.jpg. …

Member Avatar for pixelsoul
0
264
Member Avatar for KavithaK
Member Avatar for AleMonteiro
0
116
Member Avatar for zobadof

The very first thing I would do is wrap all 3 of them in one div with their own class. You would have a much easier time controlling them after that.

Member Avatar for zobadof
0
176
Member Avatar for tshukela.george

If you are just submitting the form back to the same page, why not use action="<?php echo $_SERVER['PHP_SELF']; ?>" > Also, your form action is submitting to Calc.php which your host doesn't like, probably because of the capital "C".

Member Avatar for tshukela.george
0
194
Member Avatar for cdoggg94

It's really hard to say by just looking at the CSS. It appears that it is getting pushed over to the left rather than sliding over there, maybe from the "print this page" button?

Member Avatar for pixelsoul
0
141
Member Avatar for Kniggles

Well, one of the problem is $result = mysql_query($query, $connection) Should be $result = mysql_query($connection, $query); Also, why are you using mysqli_connect for the db connection but then mysql_query for the query? And, if that is your real database connection script, then your query statement should be $result = mysqli_query($con, …

Member Avatar for Kniggles
0
480
Member Avatar for tolap21

You are going to need to do some "if(empty($something))" checks on your post data. To give you really any more information we would need to acctually see what your code looks like.

Member Avatar for Webville312
0
188
Member Avatar for jonsan32

First, I would never use the below in CSS. It is a wild card and can cause some strange behavior if you are not careful, and it "can" possibly add to your page load. It is just not that great of an idea. *{} The brackets dissapearing actually seems to …

Member Avatar for jonsan32
0
839
Member Avatar for lttleastig

I'm real curious on how you are storing that in a string. You have a mixture of double and single quotes in it. Are you escaping everything? diafol's regex would work but there is something that we are not seeing here.

Member Avatar for pixelsoul
0
171
Member Avatar for korathualex

I am not experienced with ASP, but I am experienced in SQL. I know that you can convert a datetime stamp in MSSQL with convert(). So, this may be helpful for what you are trying to do http://msdn.microsoft.com/en-us/library/ms187928.aspx I use it on my MSSQL queries because the time stamp is …

Member Avatar for pixelsoul
0
1K
Member Avatar for surajdgiri

> I notice 2 errors: line 280 what? = $PAGE_CODE and line 293 what? = $PATH @TonyG, that is a PHP shorthand and it is echoing out the variables value but it only works when short_open_tag is enabled. It is the equivelent of doing this: <?php echo $PAGE_CODE; ?> I …

Member Avatar for phoenix_2000
-1
353
Member Avatar for silent lover

Give this a try, looks like it works. http://stackoverflow.com/questions/4068373/center-a-popup-window-on-screen

Member Avatar for pixelsoul
0
267
Member Avatar for israruval007

It maybe a silly question but how many results do you get back when you run that same exact query directly against your database, like in phpmyadmin?

Member Avatar for pixelsoul
0
226
Member Avatar for silent lover

I am not completely sure what "only one slider can be clicked" but I imagine you are talking about the buttons. If that is the case you might want to try something like this. <script type="text/javascript"> var $ = jQuery.noConflict(); $(document).ready( function($){ // buttons for next and previous item var …

Member Avatar for pixelsoul
0
365
Member Avatar for zobadof

Good start so far, cool logo. Try this: .wrapper { width: 100%; height: 60px; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#464646', endColorstr='#5a5a5a'); /* for IE */ background: -moz-linear-gradient(center bottom, rgb(70, 70, 70), rgb(90, 90, 90)) repeat scroll 0% 0% transparent; background: -webkit-gradient(linear, center bottom, center top, from(rgb(70, 70, 70)), to(rgb(90, 90, 90))); border-top: 2px solid …

Member Avatar for zobadof
0
144
Member Avatar for naphets

It's a loop through the array. You're defining the array name as $stuff and then you're echoing values from the array with $stuff['array_key']. So $stuff['title'] is pulling the value from the array with the key "title". Also, you have a syntax error here echo '<h2>' . $stuff['heading] . '</h2>'; You're …

Member Avatar for naphets
0
212
Member Avatar for korathualex

!important works fine in Chrome but, this "dxgvControl_Office2003Blue a" will override this ".lnkjobref" even with !important because of the "a" targeting the href tag. If you set your rule to just "dxgvControl_Office2003Blue" with the "a" on the end then you should see !important on the other class work just fine.

Member Avatar for pixelsoul
0
280
Member Avatar for Dani
Member Avatar for sarathsshanker
Member Avatar for IIM
0
230
Member Avatar for icehiro

You should really break apart the file type check and file size check like I have below. Also, it is probably failing because you are checking for example "image/jpg" but your array just contains "jpg". You only need to check against this array, no need to include $extension in it. …

Member Avatar for diafol
0
146
Member Avatar for aVar++

You could use local storage with HTML5 and Chrome has full support for it. http://diveintohtml5.info/storage.html http://www.w3schools.com/html/html5_webstorage.asp

Member Avatar for pixelsoul
0
66
Member Avatar for diether.silverious
Member Avatar for mahdiyazdani

If you are hosting on an Apache server you can use the .htaccess file for creating "friendly URLs". Here are a couple of links that should get you started http://zenverse.net/seo-friendly-urls-with-htaccess/ http://webdesign.tutsplus.com/articles/general/seo-friendly-url-structure/

Member Avatar for mahdiyazdani
0
331
Member Avatar for TimBob12

I checked it in 3 different browsers and I am not seeing a shift, it is centered for me. The only possible way I can see it shifting a bit is if the content extended past the fold on the bottom of my screen and a scroll bar was enabled …

Member Avatar for TimBob12
0
217
Member Avatar for Shodow
Member Avatar for Shodow
0
105
Member Avatar for turpentyne

Why do you need to combine them? Are they not working correctly as separate functions?

Member Avatar for turpentyne
0
119
Member Avatar for techyworld

You need to loop through your array if you want to input each of the values into your database table. I can't tell you exactly how to do it since we don't have all of your code but it could be something like this. foreach ($yourArray as $key => $score) …

Member Avatar for techyworld
0
270
Member Avatar for dartiss

If you don't have any scripts on your site that allow any user input or any type of uploading, and your folder permissions are set to a ready only access, then I wouldn't worry too much about someone being able to put a file in the directory. htaccess can help …

Member Avatar for pixelsoul
0
89
Member Avatar for techyworld

Not sure what your last post here has to do with the original question on this thread. You already asked the question in your last comment in different thread and I answered that question http://www.daniweb.com/web-development/php/threads/450263/update-value-in-db-array

Member Avatar for pixelsoul
0
116
Member Avatar for heartly.regis

> 1)Are there official limitations on how much text information a browser can present in a single web page? The browser can load a page as long as it has memory. Once the memory is gone, you're going to see issues loading a page. > 2)So, at this point should …

Member Avatar for IIM
0
165
Member Avatar for lewashby

Does it come back blank? with an error? Throw this in your loop and see if that shows anything. echo "<pre>"; print_r($row); echo "</pre>";

Member Avatar for pixelsoul
0
350
Member Avatar for el.hafez44

Your query is probably failing. You need some more error checking. $db=mysql_connect ("localhost", "root") or die ('I cannot connect to the database because: ' . mysql_error()); $mydb=mysql_select_db("database"); if (!$mydb) { die ("Could not connect to database $mydb : " . mysql_error()); } $sql="SELECT ID, FirstName, LastName FROM `contacts` WHERE FirstName …

Member Avatar for pixelsoul
0
284
Member Avatar for diether.silverious

Please just post your PHP inline here on the forum. Most of us don't like clicking links and downloading files.

Member Avatar for diafol
0
443
Member Avatar for davy_yg
Re: OOP

PHP is heading the OOP direction more and more with every version. Getting familiar with OOP in PHP as soon as possible is probably a very good idea.

Member Avatar for pritaeas
0
148
Member Avatar for technoknol

If you theme has an attachment.php then it is using this file to display the image, which in that case you would need to edit this file to your liking. If you don't have an attachment.php then the theme is most likely using index.php which is the default. You can …

Member Avatar for pixelsoul
0
208
Member Avatar for davy_yg

If you were using a css reset it would reset your styles in all browsers and would help ensure a better chance that your design would look the same in all browsers. A good reset also would remove the borders on many/most elements. I never do a project with you …

Member Avatar for armie340
0
189
Member Avatar for davy_yg

I don't see problems (but I am really tired too lol). Make sure that you set your folder permissions for at least chmod 775. I don't remember if move_uploaded_file actually has any default error reporting if it fails. If that is all good and it still isn't working, I would …

Member Avatar for davy_yg
0
635
Member Avatar for OsaMasw

You may want to consider this possibility. http://en.wikipedia.org/wiki/Remote_File_Inclusion

Member Avatar for naphets
0
2K
Member Avatar for asif49
Member Avatar for JJenZz
0
204
Member Avatar for diether.silverious

It would be something like this // would go before the loop echo "<table><tr><td>Product ID</td><td>Product Name</td><td>Price</td><td>Added</td><td>Action</td></tr>"; // would go inside the loop echo "<tr><td>$id</td><td>$product_name</td><td>$price</td><td>$date_added</td><td><a href='inventory_edit.php?pid=$id'>edit</a><a href='inventory_list.php?deleteid=$id'>delete</a></td></tr>"; // would go after the loop echo "</table>";

Member Avatar for diether.silverious
0
200
Member Avatar for alltech

Just to add my two cents to this... If you are developing stuff for use in a browser, I always design for browsers like Firefox and Chrome first. Then I fix/workaround the errors that pop up in IE (because Microshaft doesn't like following standards). It is usually a lot less …

Member Avatar for pixelsoul
0
184

The End.