8,966 Posted Topics

Member Avatar for ehpratah

Hard to find the issue if you don't give examples of input and expected output. Apart from that, if you put your values in an array, you can use `in_array` to simplify your if's.

Member Avatar for cereal
0
168
Member Avatar for vijayram
Member Avatar for pritaeas
0
145
Member Avatar for awslc

Perhaps this can help: http://sourceforge.net/projects/nusoap/forums/forum/193579/topic/3496575

Member Avatar for pritaeas
0
173
Member Avatar for danielsikes

Why don't you put it up on SourceForge, or GitHub ? At least then it will get some exposure, and a bigger crowd.

Member Avatar for danielsikes
0
108
Member Avatar for HasNor
Member Avatar for HasNor
0
235
Member Avatar for Szabi Zsoldos

`__construct` is the function that gets called when an object instance of the class is created. Even if you remove it, it will be called, so make sure you do not put any output in it. The only way around it is creating a static class.

Member Avatar for Szabi Zsoldos
0
141
Member Avatar for HiWorld
Member Avatar for HiWorld
0
177
Member Avatar for leoblanc
Member Avatar for SummerNight
0
103
Member Avatar for anilchuthur

The password will be the user's windows password. If you want to set a different one, you need to use SQL Server Authentication.

Member Avatar for pritaeas
0
167
Member Avatar for network18

I do not think `+=` is supported. Have you tried `@col_list = @col_list + @col + ... etc.` ? Note that you will end with a comma in this situation, that could trigger an error.

Member Avatar for network18
1
296
Member Avatar for cjohnweb

The `=` is treated as the first literal character. Are you sure your keywords do not contain special characters, that are interpreted as regex control characters ?

Member Avatar for cjohnweb
0
407
Member Avatar for garyrichard
Member Avatar for Maj.Clac

A view can be created by running a query, example: CREATE VIEW `myview` AS SELECT * FROM `mytable` Which MySQL manager are you referring to?

Member Avatar for Maj.Clac
0
55
Member Avatar for dany12

1. Use `preg_match` instead of the deprecated `ereg` function. 2. In function `content` there is a typo, it should be `isset` 3. If you pass an array as parameter to `content`, then you are able to use other arrays than just `$_POST` 4. In `verify` you set a variable. Either …

Member Avatar for dany12
1
129
Member Avatar for cgull

A cron job is a scheduled job. So if you do not want to trigger your script everyday by hand, a cron job is a good option.

Member Avatar for cgull
0
368
Member Avatar for TerryReno
Member Avatar for pritaeas
0
174
Member Avatar for maxamillian

In your each function, you can hide/delete the `li` if it is outside your specified range.

Member Avatar for pritaeas
0
170
Member Avatar for hwoarang69
Member Avatar for hwoarang69

It is slow because everytime you are loading random images from the database, and displaying them inline. The browser cannot cache this. For better performance, you could store the files on disk, and just read the filenames from the database.

Member Avatar for almostbob
0
110
Member Avatar for srinath reddy
Member Avatar for junkyjack

This depends on what you are using. If you built your own, for example, with PHP and MySQL, then creating one is fairly simple. If you are using a CMS, look at the documentation. Most CMS'es have RSS support built in.

Member Avatar for pritaeas
0
33
Member Avatar for azgold

Instead of: echo "<?include ('"; echo $row['IncFile']; echo "');?>"; do: include "{$row['IncFile']}";

Member Avatar for pritaeas
0
208
Member Avatar for JudgeyD

If you want to keep it all working, you'd have to download everything (be careful with legal issues).

Member Avatar for veedeoo
0
150
Member Avatar for NYCSavage

Move the calculation of total to the query and your problem is solved. SELECT *, gkClean - gkPoints AS gkTotal FROM gk ORDER BY gkTotal DESC LIMIT 10

Member Avatar for NYCSavage
0
173
Member Avatar for hwoarang69

You can use this to test, if the img variable is passed or not: $image_id = isset($_GET['img']) ? $_GET['img'] : 0;

Member Avatar for hwoarang69
0
646
Member Avatar for hwoarang69

$img = intval($_GET['img']); echo "<form class='form' action='zoom.php?img=$img' method='post'>";

Member Avatar for hwoarang69
0
91
Member Avatar for dyingatmidnight
Member Avatar for -==Zero==-

Instead of writing the value to database, you can write it to file, but it has to be stored somewhere.

Member Avatar for pritaeas
0
129
Member Avatar for strongpot

Your query appears correct. Did you try it in phpMyAdmin or something similar?

Member Avatar for pritaeas
0
166
Member Avatar for hanintalal
Member Avatar for freakvista
Member Avatar for pritaeas
0
150
Member Avatar for Exaktor

In addition to JorgeM: make the from and to a date column, so if needed, you can store day and month too. No car part is built an entire year exactly.

Member Avatar for pritaeas
0
103
Member Avatar for afrogfx

Please try to explain the problem you are having, and what needs solving. Your post is a little unclear. If you explain, we're likely to help you.

Member Avatar for pritaeas
0
163
Member Avatar for Danny159

I think you should look at `preg_replace`. If you need help with the regex, paste some examples of the string you need to match/remove. Basically, `/##.*?##/` could do it.

Member Avatar for pritaeas
0
118
Member Avatar for kaka1990

The error states that it cannot find `../Pages/EquipmentPage.php` or the class EquipmentPage is not in it.

Member Avatar for pritaeas
0
264
Member Avatar for breakforce
Member Avatar for Qazinix
Member Avatar for Crow77

SELECT 'weighted index' AS pricetype, plast FROM table WHERE pdate = DATE(NOW()) AND STKNO = 10 UNION SELECT 'price index' AS pricetype, plast FROM table WHERE pdate = DATE(NOW()) AND STKNO = 11

Member Avatar for Crow77
0
217
Member Avatar for riahc3

You may want to store that counter in a session variable, so it will not be reset on page reload.

Member Avatar for riahc3
0
6K
Member Avatar for -==Zero==-
Member Avatar for timwhelan

Perhaps this will help: [CODE=sql] SELECT YEAR(reg_date) AS `reg_year`, MONTH(reg_date) AS `reg_month`, COUNT(*) AS `reg_count` FROM micro_applicants GROUP BY YEAR(reg_date), MONTH(reg_date) [/CODE]

Member Avatar for johnef_sh
0
562
Member Avatar for Binarydog

Did your client not use the same primary key? Ignoring duplicates will not add them, if they are found. I think your ebst bet would be to remove your key in your test database, and then find out which records can be removed. Without the key, all records should be …

Member Avatar for Binarydog
0
192
Member Avatar for shujat132
Member Avatar for shujat132
1
227
Member Avatar for hwoarang69
Member Avatar for pritaeas
0
230
Member Avatar for masocha

You have quite some choices [here](http://nl.php.net/manual/en/refs.xml.php). Depending on your needs I suggest SimpleXML or DOMDocument.

Member Avatar for pritaeas
0
77
Member Avatar for dagtad
Re: mail

WAMP does not include a mail server. Without it, you cannot send emails out. If you really need this, you can have a look at Mercury. Another option would be to use a class like PHPMailer, so you can use your gmail account to send emails.

Member Avatar for pritaeas
0
112
Member Avatar for harshm027

That's right, the SQL expects a comma separated list of values. You can do this using `explode` $sql = mysql_query('SELECT * FROM table1 WHERE id IN (' . explode(',', $id_array) . ')');

Member Avatar for pritaeas
0
58
Member Avatar for lena1990

Please provide some more detail of what you are trying to do. This is a little vague.

Member Avatar for pritaeas
0
64
Member Avatar for veledrom

Sometimes those hash values, prevent page caching in the browser, other times it is just a generated page name (for example for a particular combination of search conditions).

Member Avatar for pritaeas
0
136
Member Avatar for divyakrishnan

> Note: This function will not work on remote files as the file to be examined must be accessible via the server's filesystem. Taken from: http://php.net/glob What you could do is put a script with glob on that server, and retrieve the result using cUrl.

Member Avatar for pritaeas
0
290

The End.