Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
67% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
Ranked #2K

21 Posted Topics

Member Avatar for stanley87

Where do u have to insert the data, to a MySQL table?, or to an array? It can be done assuming that the tables or arrays in which you want to insert the data have a common key.

Member Avatar for sahromo
0
166
Member Avatar for Triztian

Hello all, I have a simple question, I have a website which has a database, and I have a customer(with another website) that takes the orders, but instead of saving the order to their database they must save it to ours, this meaning that the must be able to access …

Member Avatar for aquilax
0
146
Member Avatar for Triztian

Hello all hope this section isn't abandoned, anyway any help is really appreciated. Heres my problem: So I'm designing this database to hold orders, a customer places an order, which can have up to four accessories, at first I designed this table: [LIST] [*]idOrder[*]Acc1[*]acc2[*]acc3[*]acc4 [/LIST] but then I realized that …

Member Avatar for Triztian
0
137
Member Avatar for Triztian

Hello all, hope you can help me understand, here's the general description: I have a form, 'frmData' that has a hidden field, that when submitted it sends the info to process.php, which checks if the hidden field has been submitted, if so it redirects the user to a page "energy.php" …

Member Avatar for Triztian
0
208
Member Avatar for qazplm114477

Two distinguish an include file from another that contains a mix of php and html.

Member Avatar for digital-ether
0
113
Member Avatar for HedoBum
Member Avatar for HedoBum
0
142
Member Avatar for Triztian

Hi everyone hope you can help me with this issue, I'm trying to make a login system that is object oriented so I have the following classes: [INDENT] [LIST] [*]MySQLDB: Peforms all database operations, adding/removing members, checking passwords and usernames, also performing querys. [*]Session: Performs Session actions(log in/out, keeping track …

Member Avatar for Stefano Mtangoo
0
309
Member Avatar for azniaga
Member Avatar for azniaga
0
74
Member Avatar for shivarkishna

You could use this meta tag. [CODE=XHTML] <meta http-equiv="refresh" content="5;url=http://www.yourwebsite.com/index.php"> [/CODE] Or by using javascript.

Member Avatar for Triztian
0
56
Member Avatar for mroberts50
Member Avatar for dwlamb

I think it's the constructor's scope, you set it to private, so it cannot be called outside of the class definition, set the scope to public. Regards, Triztian

Member Avatar for Triztian
0
2K
Member Avatar for Clarkeez

Here is how it's done, first we perform all necessary database connections, the we query the database, after obtaining the result-set we transform it to an array The and lastly we print it's content using a foreach loop structure. [CODE="php"] <?php var $link; //SQl Link variable. var $query; //SQL query …

Member Avatar for hielo
0
88
Member Avatar for thedonedeal

This is done by exploding the array, assuming that the data will remain as a string, so we use the [URL="http://www.php.net/manual/en/function.explode.php"]explode();[/URL] function [CODE] <?php function search($raw_string,$key) { var $string_array; //Array in which the exploded string will be stored var $pos=0; //Gets the position of the $key in the array $string_array=explode(";",$string); …

Member Avatar for Triztian
0
129
Member Avatar for niths

You should try to develop the script yourself and when you get stuck in a particular area post the issue here; get based on the scripts you've seen and modify them to suit your needs...

Member Avatar for GigsD4X
0
61
Member Avatar for GigsD4X

Yes it can, just a guess here, but it might be a typo, the semicolons are missing at the end of the statement. For further reference: [URL="http://www.php.net/manual/en/function.include.php"]Include[/URL]

Member Avatar for GigsD4X
0
81
Member Avatar for lapunluyang

The ones that come to my mind... [CODE] For a Login system, Visitor tracking For eCommerce For Content Managing Systems (CMS) [/CODE]

Member Avatar for chrishea
0
145
Member Avatar for 1corrie2

Ok, so first the XHTML code is missing the <form> label, here's the code [CODE="html"] <form action="mail.php" method="post"> <select name="cboMails"> <option value="[email protected]">[email protected]</option> <option value="[email protected]">[email protected]</option> <option value="[email protected]">[email protected]</option> <option value="[email protected]">[email protected]</option> </select> <input type="submit" value="Submit" /> </form> [/CODE] Quoting [URL="http://www.w3schools.com/html/html_forms.asp"]W3Schools[/URL]: "The most important thing to notice when dealing with HTML forms and PHP …

Member Avatar for Triztian
0
161
Member Avatar for lapunluyang

First you will need to have a database server (MySQL is the most used) The database would have 2 tables (for now..as we add more features, we could add tables or columns) One for users and the other for statistics, the primary key should be username in both tables. The …

Member Avatar for Triztian
0
86
Member Avatar for dev.vini

Well depends on what kind of data you are validating, a quick example would be to validate a number within a certain range (e.g. Persons age, height, weight, etcetera). [CODE] <?php function range($min,$max,$val) { if ($val < $min) || ($val > $max) return 1; //Error, invalid data else return 0; …

Member Avatar for Triztian
0
63
Member Avatar for Dave Sinkula

May I ask, instead of just printing the tokens, how would we assign them to a variable?

Member Avatar for Aia
0
1K
Member Avatar for Triztian

Hi I think this is my first post, so here it goes: [B]Overview:[/B] [INDENT] This program declares global bidimensional array of 30 rows and 5 columns (not counting 0 in the rows) of floating type to save information of students, table is as follows: ID Partial1 Partial2 Partial3 Partial4 Average …

Member Avatar for vmanes
0
120

The End.